#CA51B2#CA51B2

#CA51B2 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.189 H 336.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CA51B2
RGBrgb(202, 81, 178)
HSLhsl(312, 53%, 55%)
HSVhsv(312, 60%, 79%)
CMYKcmyk(0%, 59.9%, 11.9%, 20.8%)
CIE-LABlab(53.66, 59.25, -28.24)
CIE-LCHlch(53.66, 65.64, 334.52°)
OKLaboklab(62.52% 0.1729 -0.0766)
OKLCHoklch(62.52% 0.189 336.1)
XYZxyz(35.3358, 21.6586, 44.4303)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51B2 #51CA69
analogous
#A551CA #CA51B2 #CA5175
triadic
#CA51B2 #B2CA51 #51B2CA
tetradic
#CA51B2 #CAA551 #51CA69 #5175CA
square
#CA51B2 #CAA551 #51CA69 #5175CA
split-complementary
#CA51B2 #75CA51 #51CAA5
monochromatic
#7B256A #AA3493 #CA51B2 #D880C7 #E7AFDC

Accessibility & contrast

On white

3.94
#CA51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CA51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51B2#FFFFFF#000000##000000
##CA51B21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B5
Deuteranopia (green-blind)
#7887AF
Tritanopia (blue-blind)
#D4577A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51b2;
/* rgb */ color: rgb(202, 81, 178);
/* oklch */ color: oklch(62.5% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#dd89c9',
    500: '#ca51b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca51b2;
$custom-light: #dd89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51b2",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 311.901,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.18914,
    "h": 336.1
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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