#CB50A2#CB50A2

#CB50A2 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.180 H 342.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CB50A2
RGBrgb(203, 80, 162)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 60.6%, 20.2%, 20.4%)
CIE-LABlab(53.00, 57.59, -19.90)
CIE-LCHlch(53.00, 60.94, 340.94°)
OKLaboklab(61.84% 0.1721 -0.0531)
OKLCHoklch(61.84% 0.18 342.8)
XYZxyz(34.0198, 21.0455, 36.4459)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50A2 #50CB79
analogous
#B650CB #CB50A2 #CB5064
triadic
#CB50A2 #A2CB50 #50A2CB
tetradic
#CB50A2 #CBB650 #50CB79 #5064CB
square
#CB50A2 #CBB650 #50CB79 #5064CB
split-complementary
#CB50A2 #64CB50 #50CBB6
monochromatic
#7C255F #AB3383 #CB50A2 #D97FBB #E7AED4

Accessibility & contrast

On white

4.03
#CB50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CB50A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50A2#FFFFFF#000000##000000
##CB50A21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D75072
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb50a2;
/* rgb */ color: rgb(203, 80, 162);
/* oklch */ color: oklch(61.8% 0.180 342.8);
Tailwind
colors: {
  custom: {
    50: '#de88bd',
    500: '#cb50a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb50a2;
$custom-light: #de88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50a2",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.18014,
    "h": 342.8
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#CB50A2
secondary
#A2D5B3
accent
#DE7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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