#CB4E9F#CB4E9F

#CB4E9F is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.181 H 344.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CB4E9F
RGBrgb(203, 78, 159)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 61.6%, 21.7%, 20.4%)
CIE-LABlab(52.57, 58.04, -18.80)
CIE-LCHlch(52.57, 61.01, 342.05°)
OKLaboklab(61.49% 0.1741 -0.05)
OKLCHoklch(61.49% 0.181 344)
XYZxyz(33.6120, 20.6516, 35.0101)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9F #4ECB7A
analogous
#B84ECB #CB4E9F #CB4E60
triadic
#CB4E9F #9FCB4E #4E9FCB
tetradic
#CB4E9F #CBB84E #4ECB7A #4E60CB
square
#CB4E9F #CBB84E #4ECB7A #4E60CB
split-complementary
#CB4E9F #60CB4E #4ECBB8
monochromatic
#7B245C #AA3280 #CB4E9F #D97DB9 #E7ADD2

Accessibility & contrast

On white

4.09
#CB4E9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CB4E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E9F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E9F#FFFFFF#000000##000000
##CB4E9F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5970A1
Deuteranopia (green-blind)
#7D859C
Tritanopia (blue-blind)
#D74E70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e9f;
/* rgb */ color: rgb(203, 78, 159);
/* oklch */ color: oklch(61.5% 0.181 344.0);
Tailwind
colors: {
  custom: {
    50: '#de87bb',
    500: '#cb4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9f;
$custom-light: #de87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9f",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 321.12,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.18112,
    "h": 344
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#CB4E9F
secondary
#A0D5B3
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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