#CB51AE#CB51AE

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

Color values

HEX#CB51AE
RGBrgb(203, 81, 174)
HSLhsl(314, 54%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 60.1%, 14.3%, 20.4%)
CIE-LABlab(53.64, 58.92, -25.93)
CIE-LCHlch(53.64, 64.37, 336.25°)
OKLaboklab(62.47% 0.1733 -0.07)
OKLCHoklch(62.47% 0.187 338)
XYZxyz(35.2115, 21.6403, 42.3587)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51AE #51CB6E
analogous
#AB51CB #CB51AE #CB5171
triadic
#CB51AE #AECB51 #51AECB
tetradic
#CB51AE #CBAB51 #51CB6E #5171CB
square
#CB51AE #CBAB51 #51CB6E #5171CB
split-complementary
#CB51AE #71CB51 #51CBAB
monochromatic
#7C2568 #AC338F #CB51AE #D980C4 #E7AFDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB51AE#FFFFFF#000000##000000
##CB51AE1.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)
#5574B1
Deuteranopia (green-blind)
#7A87AB
Tritanopia (blue-blind)
#D55678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb51ae;
/* rgb */ color: rgb(203, 81, 174);
/* oklch */ color: oklch(62.5% 0.187 338.0);
Tailwind
colors: {
  custom: {
    50: '#de89c6',
    500: '#cb51ae',
    950: '#000000',
  },
}
SCSS
$custom: #cb51ae;
$custom-light: #de89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51ae",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 314.262,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.1869,
    "h": 338
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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