#CB4D9E#CB4D9E

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

Color values

HEX#CB4D9E
RGBrgb(203, 77, 158)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 62.1%, 22.2%, 20.4%)
CIE-LABlab(52.37, 58.33, -18.51)
CIE-LCHlch(52.37, 61.19, 342.39°)
OKLaboklab(61.33% 0.1751 -0.0492)
OKLCHoklch(61.33% 0.182 344.3)
XYZxyz(33.4551, 20.4760, 34.5315)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D9E #4DCB7A
analogous
#B94DCB #CB4D9E #CB4D5F
triadic
#CB4D9E #9ECB4D #4D9ECB
tetradic
#CB4D9E #CBB94D #4DCB7A #4D5FCB
square
#CB4D9E #CBB94D #4DCB7A #4D5FCB
split-complementary
#CB4D9E #5FCB4D #4DCBB9
monochromatic
#7A245B #A9317F #CB4D9E #D97CB8 #E7ACD2

Accessibility & contrast

On white

4.12
#CB4D9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4D9E#FFFFFF#000000##000000
##CB4D9E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5970A0
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#D74C6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4d9e;
/* rgb */ color: rgb(203, 77, 158);
/* oklch */ color: oklch(61.3% 0.182 344.3);
Tailwind
colors: {
  custom: {
    50: '#de86ba',
    500: '#cb4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d9e;
$custom-light: #de86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d9e",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 321.429,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.18192,
    "h": 344.3
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#CB4D9E
secondary
#9FD4B2
accent
#DE7F4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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