#CB4D9C#CB4D9C

#CB4D9C is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.181 H 345.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB4D9C
RGBrgb(203, 77, 156)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62.1%, 23.2%, 20.4%)
CIE-LABlab(52.30, 58.05, -17.45)
CIE-LCHlch(52.30, 60.62, 343.27°)
OKLaboklab(61.25% 0.1747 -0.0463)
OKLCHoklch(61.25% 0.181 345.2)
XYZxyz(33.2843, 20.4077, 33.6322)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D9C #4DCB7C
analogous
#BB4DCB #CB4D9C #CB4D5D
triadic
#CB4D9C #9CCB4D #4D9CCB
tetradic
#CB4D9C #CBBB4D #4DCB7C #4D5DCB
square
#CB4D9C #CBBB4D #4DCB7C #4D5DCB
split-complementary
#CB4D9C #5DCB4D #4DCBBB
monochromatic
#7A245A #A9317D #CB4D9C #D97CB6 #E7ACD1

Accessibility & contrast

On white

4.13
#CB4D9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB4D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D9C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D9C#FFFFFF#000000##000000
##CB4D9C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9E
Deuteranopia (green-blind)
#7E8599
Tritanopia (blue-blind)
#D84C6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4d9c;
/* rgb */ color: rgb(203, 77, 156);
/* oklch */ color: oklch(61.2% 0.181 345.2);
Tailwind
colors: {
  custom: {
    50: '#de86b9',
    500: '#cb4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d9c;
$custom-light: #de86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d9c",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 322.381,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.18069,
    "h": 345.2
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#CB4D9C
secondary
#9FD4B3
accent
#DE814A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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