#CB4A9B#CB4A9B

#CB4A9B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.184 H 345.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB4A9B
RGBrgb(203, 74, 155)
HSLhsl(322, 55%, 54%)
HSVhsv(322, 64%, 80%)
CMYKcmyk(0%, 63.5%, 23.6%, 20.4%)
CIE-LABlab(51.80, 59.18, -17.61)
CIE-LCHlch(51.80, 61.74, 343.42°)
OKLaboklab(60.87% 0.1783 -0.0467)
OKLCHoklch(60.87% 0.184 345.3)
XYZxyz(32.9949, 19.9638, 33.1197)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A9B #4ACB7A
analogous
#BB4ACB #CB4A9B #CB4A5A
triadic
#CB4A9B #9BCB4A #4A9BCB
tetradic
#CB4A9B #CBBB4A #4ACB7A #4A5ACB
square
#CB4A9B #CBBB4A #4ACB7A #4A5ACB
split-complementary
#CB4A9B #5ACB4A #4ACBBB
monochromatic
#782358 #A8307B #CB4A9B #D97AB5 #E6A9D0

Accessibility & contrast

On white

4.21
#CB4A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB4A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A9B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A9B#FFFFFF#000000##000000
##CB4A9B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#576E9D
Deuteranopia (green-blind)
#7D8498
Tritanopia (blue-blind)
#D8486C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4a9b;
/* rgb */ color: rgb(203, 74, 155);
/* oklch */ color: oklch(60.9% 0.184 345.3);
Tailwind
colors: {
  custom: {
    50: '#de84b8',
    500: '#cb4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a9b;
$custom-light: #de84b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a9b",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 322.326,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.1843,
    "h": 345.3
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#CB4A9B
secondary
#9DD4B1
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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