#CA01AC#CA01AC

#CA01AC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.2% C 0.252 H 336.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CA01AC
RGBrgb(202, 1, 172)
HSLhsl(309, 99%, 40%)
HSVhsv(309, 100%, 79%)
CMYKcmyk(0%, 99.5%, 14.9%, 20.8%)
CIE-LABlab(46.39, 78.23, -36.08)
CIE-LCHlch(46.39, 86.15, 335.24°)
OKLaboklab(57.17% 0.2314 -0.0986)
OKLCHoklch(57.17% 0.252 336.9)
XYZxyz(31.8151, 15.5601, 40.3496)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA01AC #01CA1F
analogous
#8301CA #CA01AC #CA0148
triadic
#CA01AC #ACCA01 #01ACCA
tetradic
#CA01AC #CA8301 #01CA1F #0148CA
square
#CA01AC #CA8301 #01CA1F #0148CA
split-complementary
#CA01AC #48CA01 #01CA83
monochromatic
#500044 #8D0178 #CA01AC #FE0AD9 #FE47E3

Accessibility & contrast

On white

5.11
#CA01AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CA01AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA01AC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA01AC#FFFFFF#000000##FFFFFF
##CA01AC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DB0
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#D52164
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca01ac;
/* rgb */ color: rgb(202, 1, 172);
/* oklch */ color: oklch(57.2% 0.252 336.9);
Tailwind
colors: {
  custom: {
    50: '#df6ec5',
    500: '#ca01ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca01ac;
$custom-light: #df6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca01ac",
  "rgb": {
    "r": 202,
    "g": 1,
    "b": 172
  },
  "hsl": {
    "h": 308.955,
    "s": 99.015,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.25156,
    "h": 336.9
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#CA01AC
secondary
#49DE5F
accent
#FF4929
background
#FEF7FC
surface
#FDEDF8
border
#D5C8D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA01AC

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

Preview Lab → · Contrast checker → · Palette generator →

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