#CB4D9D#CB4D9D

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

Color values

HEX#CB4D9D
RGBrgb(203, 77, 157)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62.1%, 22.7%, 20.4%)
CIE-LABlab(52.33, 58.19, -17.98)
CIE-LCHlch(52.33, 60.90, 342.83°)
OKLaboklab(61.29% 0.1749 -0.0477)
OKLCHoklch(61.29% 0.181 344.7)
XYZxyz(33.3694, 20.4417, 34.0800)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D9D #4DCB7B
analogous
#BA4DCB #CB4D9D #CB4D5E
triadic
#CB4D9D #9DCB4D #4D9DCB
tetradic
#CB4D9D #CBBA4D #4DCB7B #4D5ECB
square
#CB4D9D #CBBA4D #4DCB7B #4D5ECB
split-complementary
#CB4D9D #5ECB4D #4DCBBA
monochromatic
#7A245A #A9317E #CB4D9D #D97CB7 #E7ACD1

Accessibility & contrast

On white

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

On black

5.09
#CB4D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D9D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D9D#FFFFFF#000000##000000
##CB4D9D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4d9d;
/* rgb */ color: rgb(203, 77, 157);
/* oklch */ color: oklch(61.3% 0.181 344.7);
Tailwind
colors: {
  custom: {
    50: '#de86ba',
    500: '#cb4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d9d;
$custom-light: #de86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d9d",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 321.905,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.1813,
    "h": 344.7
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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