#CB4E9D#CB4E9D

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

Color values

HEX#CB4E9D
RGBrgb(203, 78, 157)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 61.6%, 22.7%, 20.4%)
CIE-LABlab(52.49, 57.76, -17.74)
CIE-LCHlch(52.49, 60.42, 342.93°)
OKLaboklab(61.4% 0.1736 -0.0471)
OKLCHoklch(61.4% 0.18 344.8)
XYZxyz(33.4399, 20.5828, 34.1035)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9D #4ECB7C
analogous
#BA4ECB #CB4E9D #CB4E5E
triadic
#CB4E9D #9DCB4E #4E9DCB
tetradic
#CB4E9D #CBBA4E #4ECB7C #4E5ECB
square
#CB4E9D #CBBA4E #4ECB7C #4E5ECB
split-complementary
#CB4E9D #5ECB4E #4ECBBA
monochromatic
#7B245B #AA327E #CB4E9D #D97DB7 #E7ADD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4E9D#FFFFFF#000000##000000
##CB4E9D1.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)
#5A709F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D84D6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e9d;
/* rgb */ color: rgb(203, 78, 157);
/* oklch */ color: oklch(61.4% 0.180 344.8);
Tailwind
colors: {
  custom: {
    50: '#de87ba',
    500: '#cb4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9d;
$custom-light: #de87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9d",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 322.08,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.17987,
    "h": 344.8
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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