#CB4D9F#CB4D9F

#CB4D9F is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.183 H 343.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CB4D9F
RGBrgb(203, 77, 159)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 62.1%, 21.7%, 20.4%)
CIE-LABlab(52.41, 58.46, -19.04)
CIE-LCHlch(52.41, 61.49, 341.96°)
OKLaboklab(61.37% 0.1754 -0.0507)
OKLCHoklch(61.37% 0.183 343.9)
XYZxyz(33.5415, 20.5106, 34.9866)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D9F #4DCB79
analogous
#B84DCB #CB4D9F #CB4D60
triadic
#CB4D9F #9FCB4D #4D9FCB
tetradic
#CB4D9F #CBB84D #4DCB79 #4D60CB
square
#CB4D9F #CBB84D #4DCB79 #4D60CB
split-complementary
#CB4D9F #60CB4D #4DCBB8
monochromatic
#7A245C #A9317F #CB4D9F #D97CB9 #E7ACD2

Accessibility & contrast

On white

4.12
#CB4D9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CB4D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D9F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D9F#FFFFFF#000000##000000
##CB4D9F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5870A1
Deuteranopia (green-blind)
#7D859C
Tritanopia (blue-blind)
#D74D6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4d9f;
/* rgb */ color: rgb(203, 77, 159);
/* oklch */ color: oklch(61.4% 0.183 343.9);
Tailwind
colors: {
  custom: {
    50: '#de86bb',
    500: '#cb4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d9f;
$custom-light: #de86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d9f",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 320.952,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.18254,
    "h": 343.9
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#CB4D9F
secondary
#9FD4B2
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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