#CA5FA6#CA5FA6

#CA5FA6 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.8% C 0.159 H 342.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CA5FA6
RGBrgb(202, 95, 166)
HSLhsl(320, 50%, 58%)
HSVhsv(320, 53%, 79%)
CMYKcmyk(0%, 53%, 17.8%, 20.8%)
CIE-LABlab(55.58, 50.98, -18.31)
CIE-LCHlch(55.58, 54.17, 340.24°)
OKLaboklab(63.77% 0.1513 -0.0488)
OKLCHoklch(63.77% 0.159 342.1)
XYZxyz(35.3329, 23.4970, 38.7434)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FA6 #5FCA83
analogous
#B85FCA #CA5FA6 #CA5F70
triadic
#CA5FA6 #A6CA5F #5FA6CA
tetradic
#CA5FA6 #CAB85F #5FCA83 #5F70CA
square
#CA5FA6 #CAB85F #5FCA83 #5F70CA
split-complementary
#CA5FA6 #70CA5F #5FCAB8
monochromatic
#832B66 #B13B89 #CA5FA6 #D98DC0 #E8BBD9

Accessibility & contrast

On white

3.68
#CA5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CA5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FA6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FA6#FFFFFF#000000##000000
##CA5FA61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#838CA3
Tritanopia (blue-blind)
#D5607B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5fa6;
/* rgb */ color: rgb(202, 95, 166);
/* oklch */ color: oklch(63.8% 0.159 342.1);
Tailwind
colors: {
  custom: {
    50: '#dd90c0',
    500: '#ca5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fa6;
$custom-light: #dd90c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fa6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 320.187,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63773,
    "c": 0.15897,
    "h": 342.1
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#CA5FA6
secondary
#ADD8BB
accent
#DA7D4E
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5FA6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA5FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva