#CB51AA#CB51AA

#CB51AA is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.184 H 339.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CB51AA
RGBrgb(203, 81, 170)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 60.1%, 16.3%, 20.4%)
CIE-LABlab(53.48, 58.32, -23.85)
CIE-LCHlch(53.48, 63.01, 337.76°)
OKLaboklab(62.3% 0.1725 -0.0642)
OKLCHoklch(62.3% 0.184 339.6)
XYZxyz(34.8274, 21.4866, 40.3355)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51AA #51CB72
analogous
#AF51CB #CB51AA #CB516D
triadic
#CB51AA #AACB51 #51AACB
tetradic
#CB51AA #CBAF51 #51CB72 #516DCB
square
#CB51AA #CBAF51 #51CB72 #516DCB
split-complementary
#CB51AA #6DCB51 #51CBAF
monochromatic
#7C2565 #AC338B #CB51AA #D980C1 #E7AFD8

Accessibility & contrast

On white

3.96
#CB51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CB51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51AA#FFFFFF#000000##000000
##CB51AA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AD
Deuteranopia (green-blind)
#7B87A7
Tritanopia (blue-blind)
#D65476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb51aa;
/* rgb */ color: rgb(203, 81, 170);
/* oklch */ color: oklch(62.3% 0.184 339.6);
Tailwind
colors: {
  custom: {
    50: '#de89c3',
    500: '#cb51aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb51aa;
$custom-light: #de89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51aa",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 316.23,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62299,
    "c": 0.18407,
    "h": 339.6
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#CB51AA
secondary
#A3D5B0
accent
#DD724A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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