#CB50A6#CB50A6

#CB50A6 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.183 H 341.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CB50A6
RGBrgb(203, 80, 166)
HSLhsl(318, 54%, 55%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 60.6%, 18.2%, 20.4%)
CIE-LABlab(53.16, 58.17, -22.00)
CIE-LCHlch(53.16, 62.19, 339.28°)
OKLaboklab(62.01% 0.173 -0.059)
OKLCHoklch(62.01% 0.183 341.2)
XYZxyz(34.3810, 21.1900, 38.3483)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50A6 #50CB75
analogous
#B350CB #CB50A6 #CB5068
triadic
#CB50A6 #A6CB50 #50A6CB
tetradic
#CB50A6 #CBB350 #50CB75 #5068CB
square
#CB50A6 #CBB350 #50CB75 #5068CB
split-complementary
#CB50A6 #68CB50 #50CBB3
monochromatic
#7C2562 #AB3387 #CB50A6 #D97FBE #E7AED6

Accessibility & contrast

On white

4.01
#CB50A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CB50A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50A6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50A6#FFFFFF#000000##000000
##CB50A61.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A9
Deuteranopia (green-blind)
#7C86A3
Tritanopia (blue-blind)
#D65274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb50a6;
/* rgb */ color: rgb(203, 80, 166);
/* oklch */ color: oklch(62.0% 0.183 341.2);
Tailwind
colors: {
  custom: {
    50: '#de88c0',
    500: '#cb50a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb50a6;
$custom-light: #de88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50a6",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 166
  },
  "hsl": {
    "h": 318.049,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.18278,
    "h": 341.2
  },
  "luminance": 0.21187
}

Semantic roles & 50–950 ramp

primary
#CB50A6
secondary
#A2D5B1
accent
#DE774A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50A6

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

Preview Lab → · Contrast checker → · Palette generator →

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