#CB50B2#CB50B2

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

Color values

HEX#CB50B2
RGBrgb(203, 80, 178)
HSLhsl(312, 54%, 55%)
HSVhsv(312, 61%, 80%)
CMYKcmyk(0%, 60.6%, 12.3%, 20.4%)
CIE-LABlab(53.65, 59.96, -28.24)
CIE-LCHlch(53.65, 66.27, 334.78°)
OKLaboklab(62.54% 0.1753 -0.0766)
OKLCHoklch(62.54% 0.191 336.4)
XYZxyz(35.5335, 21.6510, 44.4184)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50B2 #50CB69
analogous
#A650CB #CB50B2 #CB5074
triadic
#CB50B2 #B2CB50 #50B2CB
tetradic
#CB50B2 #CBA650 #50CB69 #5074CB
square
#CB50B2 #CBA650 #50CB69 #5074CB
split-complementary
#CB50B2 #74CB50 #50CBA6
monochromatic
#7C256A #AB3393 #CB50B2 #D97FC7 #E7AEDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB50B2#FFFFFF#000000##000000
##CB50B21.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)
#5274B5
Deuteranopia (green-blind)
#7887AF
Tritanopia (blue-blind)
#D5567A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb50b2;
/* rgb */ color: rgb(203, 80, 178);
/* oklch */ color: oklch(62.5% 0.191 336.4);
Tailwind
colors: {
  custom: {
    50: '#de88c9',
    500: '#cb50b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb50b2;
$custom-light: #de88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50b2",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 312.195,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.19126,
    "h": 336.4
  },
  "luminance": 0.21648
}

Semantic roles & 50–950 ramp

primary
#CB50B2
secondary
#A2D5AC
accent
#DE684A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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