#CB50B6#CB50B6

#CB50B6 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.194 H 334.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CB50B6
RGBrgb(203, 80, 182)
HSLhsl(310, 54%, 55%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 60.6%, 10.3%, 20.4%)
CIE-LABlab(53.83, 60.58, -30.29)
CIE-LCHlch(53.83, 67.73, 333.44°)
OKLaboklab(62.72% 0.1759 -0.0824)
OKLCHoklch(62.72% 0.194 334.9)
XYZxyz(35.9410, 21.8140, 46.5645)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50B6 #50CB65
analogous
#A250CB #CB50B6 #CB5078
triadic
#CB50B6 #B6CB50 #50B6CB
tetradic
#CB50B6 #CBA250 #50CB65 #5078CB
square
#CB50B6 #CBA250 #50CB65 #5078CB
split-complementary
#CB50B6 #78CB50 #50CBA2
monochromatic
#7C256D #AB3396 #CB50B6 #D97FCA #E7AEDD

Accessibility & contrast

On white

3.92
#CB50B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CB50B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50B6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50B6#FFFFFF#000000##000000
##CB50B61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5075B9
Deuteranopia (green-blind)
#7687B3
Tritanopia (blue-blind)
#D4587C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50b6;
/* rgb */ color: rgb(203, 80, 182);
/* oklch */ color: oklch(62.7% 0.194 334.9);
Tailwind
colors: {
  custom: {
    50: '#de88cc',
    500: '#cb50b6',
    950: '#000000',
  },
}
SCSS
$custom: #cb50b6;
$custom-light: #de88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50b6",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 182
  },
  "hsl": {
    "h": 310.244,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.19424,
    "h": 334.9
  },
  "luminance": 0.21811
}

Semantic roles & 50–950 ramp

primary
#CB50B6
secondary
#A2D5AB
accent
#DE634A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB50B6

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

Preview Lab → · Contrast checker → · Palette generator →

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