#CB4D87#CB4D87

#CB4D87 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.170 H 354.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB4D87
RGBrgb(203, 77, 135)
HSLhsl(332, 55%, 55%)
HSVhsv(332, 62%, 80%)
CMYKcmyk(0%, 62.1%, 33.5%, 20.4%)
CIE-LABlab(51.56, 55.38, -6.09)
CIE-LCHlch(51.56, 55.71, 353.73°)
OKLaboklab(60.47% 0.1689 -0.0154)
OKLCHoklch(60.47% 0.17 354.8)
XYZxyz(31.6573, 19.7569, 25.0633)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D87 #4DCB91
analogous
#CB4DC6 #CB4D87 #CB524D
triadic
#CB4D87 #87CB4D #4D87CB
tetradic
#CB4D87 #C6CB4D #4DCB91 #524DCB
square
#CB4D87 #C6CB4D #4DCB91 #524DCB
split-complementary
#CB4D87 #4DCB52 #4DC6CB
monochromatic
#7A244B #A93169 #CB4D87 #D97CA7 #E7ACC7

Accessibility & contrast

On white

4.24
#CB4D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D87
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D87#FFFFFF#000000##000000
##CB4D871.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DA4464
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4d87;
/* rgb */ color: rgb(203, 77, 135);
/* oklch */ color: oklch(60.5% 0.170 354.8);
Tailwind
colors: {
  custom: {
    50: '#df85a9',
    500: '#cb4d87',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d87;
$custom-light: #df85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d87",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 332.381,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.16961,
    "h": 354.8
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#CB4D87
secondary
#9FD4BC
accent
#DE9A4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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