#CB4A9C#CB4A9C

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

Color values

HEX#CB4A9C
RGBrgb(203, 74, 156)
HSLhsl(322, 55%, 54%)
HSVhsv(322, 64%, 80%)
CMYKcmyk(0%, 63.5%, 23.2%, 20.4%)
CIE-LABlab(51.83, 59.31, -18.15)
CIE-LCHlch(51.83, 62.03, 342.99°)
OKLaboklab(60.91% 0.1785 -0.0482)
OKLCHoklch(60.91% 0.185 344.9)
XYZxyz(33.0793, 19.9976, 33.5638)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A9C #4ACB79
analogous
#B94ACB #CB4A9C #CB4A5C
triadic
#CB4A9C #9CCB4A #4A9CCB
tetradic
#CB4A9C #CBB94A #4ACB79 #4A5CCB
square
#CB4A9C #CBB94A #4ACB79 #4A5CCB
split-complementary
#CB4A9C #5CCB4A #4ACBB9
monochromatic
#782359 #A8307C #CB4A9C #D97AB6 #E6A9D0

Accessibility & contrast

On white

4.20
#CB4A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB4A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A9C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A9C#FFFFFF#000000##000000
##CB4A9C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#576E9E
Deuteranopia (green-blind)
#7C8499
Tritanopia (blue-blind)
#D8496C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4a9c;
/* rgb */ color: rgb(203, 74, 156);
/* oklch */ color: oklch(60.9% 0.185 344.9);
Tailwind
colors: {
  custom: {
    50: '#de84b9',
    500: '#cb4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a9c;
$custom-light: #de84b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a9c",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 321.86,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.1849,
    "h": 344.9
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#CB4A9C
secondary
#9DD4B1
accent
#DF8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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