#CB4E9C#CB4E9C

#CB4E9C is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.179 H 345.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CB4E9C
RGBrgb(203, 78, 156)
HSLhsl(323, 55%, 55%)
HSVhsv(323, 62%, 80%)
CMYKcmyk(0%, 61.6%, 23.2%, 20.4%)
CIE-LABlab(52.45, 57.62, -17.21)
CIE-LCHlch(52.45, 60.14, 343.38°)
OKLaboklab(61.36% 0.1734 -0.0456)
OKLCHoklch(61.36% 0.179 345.3)
XYZxyz(33.3548, 20.5487, 33.6557)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9C #4ECB7D
analogous
#BB4ECB #CB4E9C #CB4E5D
triadic
#CB4E9C #9CCB4E #4E9CCB
tetradic
#CB4E9C #CBBB4E #4ECB7D #4E5DCB
square
#CB4E9C #CBBB4E #4ECB7D #4E5DCB
split-complementary
#CB4E9C #5DCB4E #4ECBBB
monochromatic
#7B245A #AA327D #CB4E9C #D97DB6 #E7ADD1

Accessibility & contrast

On white

4.11
#CB4E9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB4E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E9C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E9C#FFFFFF#000000##000000
##CB4E9C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4e9c;
/* rgb */ color: rgb(203, 78, 156);
/* oklch */ color: oklch(61.4% 0.179 345.3);
Tailwind
colors: {
  custom: {
    50: '#de87b9',
    500: '#cb4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9c;
$custom-light: #de87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9c",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 322.56,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.17926,
    "h": 345.3
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#CB4E9C
secondary
#A0D5B4
accent
#DE824A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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