#CB51A4#CB51A4

#CB51A4 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.180 H 342.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB51A4
RGBrgb(203, 81, 164)
HSLhsl(319, 54%, 56%)
HSVhsv(319, 60%, 80%)
CMYKcmyk(0%, 60.1%, 19.2%, 20.4%)
CIE-LABlab(53.24, 57.44, -20.71)
CIE-LCHlch(53.24, 61.06, 340.18°)
OKLaboklab(62.04% 0.1713 -0.0554)
OKLCHoklch(62.04% 0.18 342.1)
XYZxyz(34.2727, 21.2647, 37.4142)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51A4 #51CB78
analogous
#B551CB #CB51A4 #CB5167
triadic
#CB51A4 #A4CB51 #51A4CB
tetradic
#CB51A4 #CBB551 #51CB78 #5167CB
square
#CB51A4 #CBB551 #51CB78 #5167CB
split-complementary
#CB51A4 #67CB51 #51CBB5
monochromatic
#7C2561 #AC3385 #CB51A4 #D980BD #E7AFD5

Accessibility & contrast

On white

4.00
#CB51A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB51A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51A4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51A4#FFFFFF#000000##000000
##CB51A41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#7D86A1
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb51a4;
/* rgb */ color: rgb(203, 81, 164);
/* oklch */ color: oklch(62.0% 0.180 342.1);
Tailwind
colors: {
  custom: {
    50: '#de88bf',
    500: '#cb51a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb51a4;
$custom-light: #de88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51a4",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 319.18,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.17999,
    "h": 342.1
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#CB51A4
secondary
#A3D5B3
accent
#DD794A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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