#CB50AB#CB50AB

#CB50AB is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.186 H 339.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB50AB
RGBrgb(203, 80, 171)
HSLhsl(316, 54%, 55%)
HSVhsv(316, 61%, 80%)
CMYKcmyk(0%, 60.6%, 15.8%, 20.4%)
CIE-LABlab(53.36, 58.90, -24.62)
CIE-LCHlch(53.36, 63.84, 337.32°)
OKLaboklab(62.22% 0.174 -0.0663)
OKLCHoklch(62.22% 0.186 339.1)
XYZxyz(34.8486, 21.3771, 40.8110)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50AB #50CB70
analogous
#AE50CB #CB50AB #CB506D
triadic
#CB50AB #ABCB50 #50ABCB
tetradic
#CB50AB #CBAE50 #50CB70 #506DCB
square
#CB50AB #CBAE50 #50CB70 #506DCB
split-complementary
#CB50AB #6DCB50 #50CBAE
monochromatic
#7C2565 #AB338C #CB50AB #D97FC2 #E7AED8

Accessibility & contrast

On white

3.98
#CB50AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB50AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50AB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50AB#FFFFFF#000000##000000
##CB50AB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7A87A8
Tritanopia (blue-blind)
#D65476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb50ab;
/* rgb */ color: rgb(203, 80, 171);
/* oklch */ color: oklch(62.2% 0.186 339.1);
Tailwind
colors: {
  custom: {
    50: '#de88c4',
    500: '#cb50ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb50ab;
$custom-light: #de88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50ab",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 315.61,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.18622,
    "h": 339.1
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#CB50AB
secondary
#A2D5AF
accent
#DE714A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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