#CB4A9E#CB4A9E

#CB4A9E is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.186 H 344.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB4A9E
RGBrgb(203, 74, 158)
HSLhsl(321, 55%, 54%)
HSVhsv(321, 64%, 80%)
CMYKcmyk(0%, 63.5%, 22.2%, 20.4%)
CIE-LABlab(51.91, 59.58, -19.21)
CIE-LCHlch(51.91, 62.60, 342.13°)
OKLaboklab(60.99% 0.179 -0.0511)
OKLCHoklch(60.99% 0.186 344.1)
XYZxyz(33.2500, 20.0659, 34.4631)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A9E #4ACB77
analogous
#B84ACB #CB4A9E #CB4A5E
triadic
#CB4A9E #9ECB4A #4A9ECB
tetradic
#CB4A9E #CBB84A #4ACB77 #4A5ECB
square
#CB4A9E #CBB84A #4ACB77 #4A5ECB
split-complementary
#CB4A9E #5ECB4A #4ACBB8
monochromatic
#78235A #A8307E #CB4A9E #D97AB7 #E6A9D1

Accessibility & contrast

On white

4.19
#CB4A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB4A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A9E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A9E#FFFFFF#000000##000000
##CB4A9E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566EA1
Deuteranopia (green-blind)
#7C849B
Tritanopia (blue-blind)
#D8496D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4a9e;
/* rgb */ color: rgb(203, 74, 158);
/* oklch */ color: oklch(61.0% 0.186 344.1);
Tailwind
colors: {
  custom: {
    50: '#de84ba',
    500: '#cb4a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a9e;
$custom-light: #de84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a9e",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 320.93,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.18613,
    "h": 344.1
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

primary
#CB4A9E
secondary
#9DD4B0
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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