#CB51AC#CB51AC

#CB51AC is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.185 H 338.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CB51AC
RGBrgb(203, 81, 172)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 60.1%, 15.3%, 20.4%)
CIE-LABlab(53.56, 58.62, -24.89)
CIE-LCHlch(53.56, 63.68, 336.99°)
OKLaboklab(62.39% 0.1729 -0.0671)
OKLCHoklch(62.39% 0.185 338.8)
XYZxyz(35.0180, 21.5629, 41.3395)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51AC #51CB70
analogous
#AD51CB #CB51AC #CB516F
triadic
#CB51AC #ACCB51 #51ACCB
tetradic
#CB51AC #CBAD51 #51CB70 #516FCB
square
#CB51AC #CBAD51 #51CB70 #516FCB
split-complementary
#CB51AC #6FCB51 #51CBAD
monochromatic
#7C2566 #AC338D #CB51AC #D980C2 #E7AFD9

Accessibility & contrast

On white

3.95
#CB51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CB51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51AC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51AC#FFFFFF#000000##000000
##CB51AC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#7A87A9
Tritanopia (blue-blind)
#D65577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb51ac;
/* rgb */ color: rgb(203, 81, 172);
/* oklch */ color: oklch(62.4% 0.185 338.8);
Tailwind
colors: {
  custom: {
    50: '#de89c5',
    500: '#cb51ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb51ac;
$custom-light: #de89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51ac",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 315.246,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62386,
    "c": 0.18547,
    "h": 338.8
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#CB51AC
secondary
#A3D5AF
accent
#DD704A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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