#CA51B4#CA51B4

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

Color values

HEX#CA51B4
RGBrgb(202, 81, 180)
HSLhsl(311, 53%, 55%)
HSVhsv(311, 60%, 79%)
CMYKcmyk(0%, 59.9%, 10.9%, 20.8%)
CIE-LABlab(53.75, 59.57, -29.26)
CIE-LCHlch(53.75, 66.36, 333.84°)
OKLaboklab(62.61% 0.1733 -0.0795)
OKLCHoklch(62.61% 0.191 335.3)
XYZxyz(35.5381, 21.7395, 45.4956)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51B4 #51CA67
analogous
#A351CA #CA51B4 #CA5177
triadic
#CA51B4 #B4CA51 #51B4CA
tetradic
#CA51B4 #CAA351 #51CA67 #5177CA
square
#CA51B4 #CAA351 #51CA67 #5177CA
split-complementary
#CA51B4 #77CA51 #51CAA3
monochromatic
#7B256C #AA3495 #CA51B4 #D880C8 #E7AFDC

Accessibility & contrast

On white

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

On black

5.35
#CA51B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51B4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51B4#FFFFFF#000000##000000
##CA51B41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B7
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#D3587B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51b4;
/* rgb */ color: rgb(202, 81, 180);
/* oklch */ color: oklch(62.6% 0.191 335.3);
Tailwind
colors: {
  custom: {
    50: '#dd89ca',
    500: '#ca51b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca51b4;
$custom-light: #dd89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51b4",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 310.909,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.19064,
    "h": 335.3
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#CA51B4
secondary
#A2D5AB
accent
#DD664B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA51B4

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

Preview Lab → · Contrast checker → · Palette generator →

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