#CB4A9A#CB4A9A

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

Color values

HEX#CB4A9A
RGBrgb(203, 74, 154)
HSLhsl(323, 55%, 54%)
HSVhsv(323, 64%, 80%)
CMYKcmyk(0%, 63.5%, 24.1%, 20.4%)
CIE-LABlab(51.76, 59.04, -17.08)
CIE-LCHlch(51.76, 61.47, 343.86°)
OKLaboklab(60.83% 0.1781 -0.0452)
OKLCHoklch(60.83% 0.184 345.7)
XYZxyz(32.9113, 19.9304, 32.6793)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A9A #4ACB7B
analogous
#BC4ACB #CB4A9A #CB4A5A
triadic
#CB4A9A #9ACB4A #4A9ACB
tetradic
#CB4A9A #CBBC4A #4ACB7B #4A5ACB
square
#CB4A9A #CBBC4A #4ACB7B #4A5ACB
split-complementary
#CB4A9A #5ACB4A #4ACBBC
monochromatic
#782358 #A8307A #CB4A9A #D97AB5 #E6A9CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4A9A#FFFFFF#000000##000000
##CB4A9A1.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)
#586D9C
Deuteranopia (green-blind)
#7D8397
Tritanopia (blue-blind)
#D8486B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4a9a;
/* rgb */ color: rgb(203, 74, 154);
/* oklch */ color: oklch(60.8% 0.184 345.7);
Tailwind
colors: {
  custom: {
    50: '#de84b7',
    500: '#cb4a9a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a9a;
$custom-light: #de84b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a9a",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 322.791,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.18371,
    "h": 345.7
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#CB4A9A
secondary
#9DD4B2
accent
#DF8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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