#CA5FAC#CA5FAC

#CA5FAC is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.163 H 339.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CA5FAC
RGBrgb(202, 95, 172)
HSLhsl(317, 50%, 58%)
HSVhsv(317, 53%, 79%)
CMYKcmyk(0%, 53%, 14.9%, 20.8%)
CIE-LABlab(55.81, 51.90, -21.44)
CIE-LCHlch(55.81, 56.15, 337.55°)
OKLaboklab(64.02% 0.1527 -0.0576)
OKLCHoklch(64.02% 0.163 339.3)
XYZxyz(35.8962, 23.7223, 41.7100)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FAC #5FCA7D
analogous
#B25FCA #CA5FAC #CA5F76
triadic
#CA5FAC #ACCA5F #5FACCA
tetradic
#CA5FAC #CAB25F #5FCA7D #5F76CA
square
#CA5FAC #CAB25F #5FCA7D #5F76CA
split-complementary
#CA5FAC #76CA5F #5FCAB2
monochromatic
#832B6B #B13B90 #CA5FAC #D98DC4 #E8BBDC

Accessibility & contrast

On white

3.66
#CA5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CA5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FAC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FAC#FFFFFF#000000##000000
##CA5FAC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAF
Deuteranopia (green-blind)
#828CA9
Tritanopia (blue-blind)
#D4627E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5fac;
/* rgb */ color: rgb(202, 95, 172);
/* oklch */ color: oklch(64.0% 0.163 339.3);
Tailwind
colors: {
  custom: {
    50: '#dd91c5',
    500: '#ca5fac',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fac;
$custom-light: #dd91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fac",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 316.822,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.16322,
    "h": 339.3
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#CA5FAC
secondary
#ADD8B9
accent
#DA754E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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