#CB4E87#CB4E87

#CB4E87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.168 H 355.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB4E87
RGBrgb(203, 78, 135)
HSLhsl(333, 55%, 55%)
HSVhsv(333, 62%, 80%)
CMYKcmyk(0%, 61.6%, 33.5%, 20.4%)
CIE-LABlab(51.72, 54.94, -5.85)
CIE-LCHlch(51.72, 55.25, 353.92°)
OKLaboklab(60.58% 0.1676 -0.0147)
OKLCHoklch(60.58% 0.168 355)
XYZxyz(31.7278, 19.8979, 25.0868)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E87 #4ECB92
analogous
#CB4EC5 #CB4E87 #CB544E
triadic
#CB4E87 #87CB4E #4E87CB
tetradic
#CB4E87 #C5CB4E #4ECB92 #544ECB
square
#CB4E87 #C5CB4E #4ECB92 #544ECB
split-complementary
#CB4E87 #4ECB54 #4EC5CB
monochromatic
#7B244B #AA3269 #CB4E87 #D97DA7 #E7ADC7

Accessibility & contrast

On white

4.22
#CB4E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB4E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E87
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E87#FFFFFF#000000##000000
##CB4E871.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626D89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#DA4565
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4e87;
/* rgb */ color: rgb(203, 78, 135);
/* oklch */ color: oklch(60.6% 0.168 355.0);
Tailwind
colors: {
  custom: {
    50: '#df86a9',
    500: '#cb4e87',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e87;
$custom-light: #df86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e87",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 332.64,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.1682,
    "h": 355
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#CB4E87
secondary
#A0D5BD
accent
#DE9A4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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