#CB4E9B#CB4E9B

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

Color values

HEX#CB4E9B
RGBrgb(203, 78, 155)
HSLhsl(323, 55%, 55%)
HSVhsv(323, 62%, 80%)
CMYKcmyk(0%, 61.6%, 23.6%, 20.4%)
CIE-LABlab(52.41, 57.49, -16.67)
CIE-LCHlch(52.41, 59.86, 343.83°)
OKLaboklab(61.32% 0.1731 -0.0441)
OKLCHoklch(61.32% 0.179 345.7)
XYZxyz(33.2705, 20.5150, 33.2116)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9B #4ECB7E
analogous
#BC4ECB #CB4E9B #CB4E5C
triadic
#CB4E9B #9BCB4E #4E9BCB
tetradic
#CB4E9B #CBBC4E #4ECB7E #4E5CCB
square
#CB4E9B #CBBC4E #4ECB7E #4E5CCB
split-complementary
#CB4E9B #5CCB4E #4ECBBC
monochromatic
#7B2459 #AA327C #CB4E9B #D97DB6 #E7ADD0

Accessibility & contrast

On white

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

On black

5.10
#CB4E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E9B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E9B#FFFFFF#000000##000000
##CB4E9B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4e9b;
/* rgb */ color: rgb(203, 78, 155);
/* oklch */ color: oklch(61.3% 0.179 345.7);
Tailwind
colors: {
  custom: {
    50: '#de86b8',
    500: '#cb4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9b;
$custom-light: #de86b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9b",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 323.04,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.17866,
    "h": 345.7
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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