#CB4E9E#CB4E9E

#CB4E9E is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.180 H 344.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CB4E9E
RGBrgb(203, 78, 158)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 61.6%, 22.2%, 20.4%)
CIE-LABlab(52.53, 57.90, -18.27)
CIE-LCHlch(52.53, 60.71, 342.49°)
OKLaboklab(61.44% 0.1738 -0.0486)
OKLCHoklch(61.44% 0.18 344.4)
XYZxyz(33.5256, 20.6170, 34.5550)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9E #4ECB7B
analogous
#B94ECB #CB4E9E #CB4E5F
triadic
#CB4E9E #9ECB4E #4E9ECB
tetradic
#CB4E9E #CBB94E #4ECB7B #4E5FCB
square
#CB4E9E #CBB94E #4ECB7B #4E5FCB
split-complementary
#CB4E9E #5FCB4E #4ECBB9
monochromatic
#7B245B #AA327F #CB4E9E #D97DB8 #E7ADD2

Accessibility & contrast

On white

4.10
#CB4E9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB4E9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E9E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E9E#FFFFFF#000000##000000
##CB4E9E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A70A0
Deuteranopia (green-blind)
#7E859B
Tritanopia (blue-blind)
#D74D6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e9e;
/* rgb */ color: rgb(203, 78, 158);
/* oklch */ color: oklch(61.4% 0.180 344.4);
Tailwind
colors: {
  custom: {
    50: '#de87ba',
    500: '#cb4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9e;
$custom-light: #de87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9e",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 321.6,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.18049,
    "h": 344.4
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#CB4E9E
secondary
#A0D5B3
accent
#DE7F4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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