#CB50A8#CB50A8

#CB50A8 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.184 H 340.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB50A8
RGBrgb(203, 80, 168)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 80%)
CMYKcmyk(0%, 60.6%, 17.2%, 20.4%)
CIE-LABlab(53.24, 58.46, -23.05)
CIE-LCHlch(53.24, 62.84, 338.48°)
OKLaboklab(62.1% 0.1734 -0.0619)
OKLCHoklch(62.1% 0.184 340.3)
XYZxyz(34.5659, 21.2640, 39.3221)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50A8 #50CB73
analogous
#B050CB #CB50A8 #CB506A
triadic
#CB50A8 #A8CB50 #50A8CB
tetradic
#CB50A8 #CBB050 #50CB73 #506ACB
square
#CB50A8 #CBB050 #50CB73 #506ACB
split-complementary
#CB50A8 #6ACB50 #50CBB0
monochromatic
#7C2563 #AB3389 #CB50A8 #D97FBF #E7AED7

Accessibility & contrast

On white

4.00
#CB50A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB50A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50A8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50A8#FFFFFF#000000##000000
##CB50A81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#7B86A5
Tritanopia (blue-blind)
#D65375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb50a8;
/* rgb */ color: rgb(203, 80, 168);
/* oklch */ color: oklch(62.1% 0.184 340.3);
Tailwind
colors: {
  custom: {
    50: '#de88c2',
    500: '#cb50a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb50a8;
$custom-light: #de88c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50a8",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 317.073,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.18414,
    "h": 340.3
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#CB50A8
secondary
#A2D5B0
accent
#DE744A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50A8

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

Preview Lab → · Contrast checker → · Palette generator →

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