#CB4CB2#CB4CB2

#CB4CB2 is a light, vivid pink. Relative luminance 0.211; OKLCH L 62.1% C 0.197 H 336.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB4CB2
RGBrgb(203, 76, 178)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 63%, 80%)
CMYKcmyk(0%, 62.6%, 12.3%, 20.4%)
CIE-LABlab(53.04, 61.65, -29.19)
CIE-LCHlch(53.04, 68.21, 334.66°)
OKLaboklab(62.09% 0.1802 -0.0793)
OKLCHoklch(62.09% 0.197 336.3)
XYZxyz(35.2493, 21.0826, 44.3237)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CB2 #4CCB65
analogous
#A54CCB #CB4CB2 #CB4C73
triadic
#CB4CB2 #B2CB4C #4CB2CB
tetradic
#CB4CB2 #CBA54C #4CCB65 #4C73CB
square
#CB4CB2 #CBA54C #4CCB65 #4C73CB
split-complementary
#CB4CB2 #73CB4C #4CCBA5
monochromatic
#792368 #A93191 #CB4CB2 #D97BC6 #E7ABDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4CB2#FFFFFF#000000##000000
##CB4CB21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#D55378
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4cb2;
/* rgb */ color: rgb(203, 76, 178);
/* oklch */ color: oklch(62.1% 0.197 336.3);
Tailwind
colors: {
  custom: {
    50: '#de86c9',
    500: '#cb4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cb2;
$custom-light: #de86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cb2",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 311.811,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62088,
    "c": 0.1969,
    "h": 336.3
  },
  "luminance": 0.2108
}

Semantic roles & 50–950 ramp

primary
#CB4CB2
secondary
#9FD4A9
accent
#DE6749
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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