#CB50A4#CB50A4

#CB50A4 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.181 H 342.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB50A4
RGBrgb(203, 80, 164)
HSLhsl(319, 54%, 55%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 60.6%, 19.2%, 20.4%)
CIE-LABlab(53.08, 57.88, -20.95)
CIE-LCHlch(53.08, 61.56, 340.10°)
OKLaboklab(61.93% 0.1726 -0.0561)
OKLCHoklch(61.93% 0.181 342)
XYZxyz(34.1990, 21.1172, 37.3896)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50A4 #50CB77
analogous
#B450CB #CB50A4 #CB5067
triadic
#CB50A4 #A4CB50 #50A4CB
tetradic
#CB50A4 #CBB450 #50CB77 #5067CB
square
#CB50A4 #CBB450 #50CB77 #5067CB
split-complementary
#CB50A4 #67CB50 #50CBB4
monochromatic
#7C2560 #AB3385 #CB50A4 #D97FBD #E7AED5

Accessibility & contrast

On white

4.02
#CB50A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB50A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50A4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50A4#FFFFFF#000000##000000
##CB50A41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#7D86A1
Tritanopia (blue-blind)
#D75173
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb50a4;
/* rgb */ color: rgb(203, 80, 164);
/* oklch */ color: oklch(61.9% 0.181 342.0);
Tailwind
colors: {
  custom: {
    50: '#de88bf',
    500: '#cb50a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb50a4;
$custom-light: #de88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50a4",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 319.024,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.18145,
    "h": 342
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#CB50A4
secondary
#A2D5B2
accent
#DE794A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50A4

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

Preview Lab → · Contrast checker → · Palette generator →

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