#CF5887#CF5887

#CF5887 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.4% C 0.158 H 358.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CF5887
RGBrgb(207, 88, 135)
HSLhsl(336, 55%, 58%)
HSVhsv(336, 57%, 81%)
CMYKcmyk(0%, 57.5%, 34.8%, 18.8%)
CIE-LABlab(54.02, 51.70, -2.38)
CIE-LCHlch(54.02, 51.75, 357.37°)
OKLaboklab(62.42% 0.1575 -0.0056)
OKLCHoklch(62.42% 0.158 358)
XYZxyz(33.5968, 21.9976, 25.3936)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5887 #58CFA0
analogous
#CF58C2 #CF5887 #CF6558
triadic
#CF5887 #87CF58 #5887CF
tetradic
#CF5887 #C2CF58 #58CFA0 #6558CF
square
#CF5887 #C2CF58 #58CFA0 #6558CF
split-complementary
#CF5887 #58CF65 #58C2CF
monochromatic
#86274C #B63467 #CF5887 #DD88A9 #EAB7CB

Accessibility & contrast

On white

3.89
#CF5887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CF5887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5887
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5887#FFFFFF#000000##000000
##CF58871.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#8B8984
Tritanopia (blue-blind)
#DE4F6A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf5887;
/* rgb */ color: rgb(207, 88, 135);
/* oklch */ color: oklch(62.4% 0.158 358.0);
Tailwind
colors: {
  custom: {
    50: '#e18ca9',
    500: '#cf5887',
    950: '#000000',
  },
}
SCSS
$custom: #cf5887;
$custom-light: #e18ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5887",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 336.303,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62419,
    "c": 0.15762,
    "h": 358
  },
  "luminance": 0.21994
}

Semantic roles & 50–950 ramp

primary
#CF5887
secondary
#AAD9C6
accent
#DFA449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5887

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

Preview Lab → · Contrast checker → · Palette generator →

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