#CB4A9F#CB4A9F

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

Color values

HEX#CB4A9F
RGBrgb(203, 74, 159)
HSLhsl(320, 55%, 54%)
HSVhsv(320, 64%, 80%)
CMYKcmyk(0%, 63.5%, 21.7%, 20.4%)
CIE-LABlab(51.95, 59.72, -19.74)
CIE-LCHlch(51.95, 62.90, 341.71°)
OKLaboklab(61.03% 0.1792 -0.0526)
OKLCHoklch(61.03% 0.187 343.6)
XYZxyz(33.3364, 20.1004, 34.9183)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A9F #4ACB76
analogous
#B74ACB #CB4A9F #CB4A5F
triadic
#CB4A9F #9FCB4A #4A9FCB
tetradic
#CB4A9F #CBB74A #4ACB76 #4A5FCB
square
#CB4A9F #CBB74A #4ACB76 #4A5FCB
split-complementary
#CB4A9F #5FCB4A #4ACBB7
monochromatic
#78235B #A8307F #CB4A9F #D97AB8 #E6A9D1

Accessibility & contrast

On white

4.18
#CB4A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB4A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A9F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A9F#FFFFFF#000000##000000
##CB4A9F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#566EA2
Deuteranopia (green-blind)
#7B849C
Tritanopia (blue-blind)
#D74A6E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4a9f;
/* rgb */ color: rgb(203, 74, 159);
/* oklch */ color: oklch(61.0% 0.187 343.6);
Tailwind
colors: {
  custom: {
    50: '#de84bb',
    500: '#cb4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a9f;
$custom-light: #de84bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a9f",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 320.465,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.18676,
    "h": 343.6
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#CB4A9F
secondary
#9DD4B0
accent
#DF7C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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