#CB4A87#CB4A87

#CB4A87 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.174 H 354.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB4A87
RGBrgb(203, 74, 135)
HSLhsl(332, 55%, 54%)
HSVhsv(332, 64%, 80%)
CMYKcmyk(0%, 63.5%, 33.5%, 20.4%)
CIE-LABlab(51.09, 56.66, -6.79)
CIE-LCHlch(51.09, 57.06, 353.17°)
OKLaboklab(60.12% 0.1729 -0.0172)
OKLCHoklch(60.12% 0.174 354.3)
XYZxyz(31.4522, 19.3468, 24.9949)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A87 #4ACB8E
analogous
#CB4AC8 #CB4A87 #CB4E4A
triadic
#CB4A87 #87CB4A #4A87CB
tetradic
#CB4A87 #C8CB4A #4ACB8E #4E4ACB
square
#CB4A87 #C8CB4A #4ACB8E #4E4ACB
split-complementary
#CB4A87 #4ACB4E #4AC8CB
monochromatic
#78234B #A83069 #CB4A87 #D97AA7 #E6A9C6

Accessibility & contrast

On white

4.31
#CB4A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB4A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A87
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A87#FFFFFF#000000##000000
##CB4A871.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#828284
Tritanopia (blue-blind)
#DA4163
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a87;
/* rgb */ color: rgb(203, 74, 135);
/* oklch */ color: oklch(60.1% 0.174 354.3);
Tailwind
colors: {
  custom: {
    50: '#df84a9',
    500: '#cb4a87',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a87;
$custom-light: #df84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a87",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 331.628,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.17375,
    "h": 354.3
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#CB4A87
secondary
#9DD4BA
accent
#DF9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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