#CA51B3#CA51B3

#CA51B3 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.6% C 0.190 H 335.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CA51B3
RGBrgb(202, 81, 179)
HSLhsl(311, 53%, 55%)
HSVhsv(311, 60%, 79%)
CMYKcmyk(0%, 59.9%, 11.4%, 20.8%)
CIE-LABlab(53.71, 59.41, -28.75)
CIE-LCHlch(53.71, 66.00, 334.18°)
OKLaboklab(62.56% 0.1731 -0.0781)
OKLCHoklch(62.56% 0.19 335.7)
XYZxyz(35.4366, 21.6989, 44.9610)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51B3 #51CA68
analogous
#A451CA #CA51B3 #CA5176
triadic
#CA51B3 #B3CA51 #51B3CA
tetradic
#CA51B3 #CAA451 #51CA68 #5176CA
square
#CA51B3 #CAA451 #51CA68 #5176CA
split-complementary
#CA51B3 #76CA51 #51CAA4
monochromatic
#7B256B #AA3494 #CA51B3 #D880C7 #E7AFDC

Accessibility & contrast

On white

3.93
#CA51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CA51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51B3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51B3#FFFFFF#000000##000000
##CA51B31.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B6
Deuteranopia (green-blind)
#7787B0
Tritanopia (blue-blind)
#D3587B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51b3;
/* rgb */ color: rgb(202, 81, 179);
/* oklch */ color: oklch(62.6% 0.190 335.7);
Tailwind
colors: {
  custom: {
    50: '#dd89ca',
    500: '#ca51b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca51b3;
$custom-light: #dd89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51b3",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 311.405,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.18989,
    "h": 335.7
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#CA51B3
secondary
#A2D5AC
accent
#DD674B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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