#CF5787#CF5787

#CF5787 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.159 H 357.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CF5787
RGBrgb(207, 87, 135)
HSLhsl(336, 56%, 58%)
HSVhsv(336, 58%, 81%)
CMYKcmyk(0%, 58%, 34.8%, 18.8%)
CIE-LABlab(53.85, 52.16, -2.63)
CIE-LCHlch(53.85, 52.23, 357.11°)
OKLaboklab(62.29% 0.159 -0.0062)
OKLCHoklch(62.29% 0.159 357.8)
XYZxyz(33.5153, 21.8345, 25.3664)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5787 #57CF9F
analogous
#CF57C3 #CF5787 #CF6357
triadic
#CF5787 #87CF57 #5787CF
tetradic
#CF5787 #C3CF57 #57CF9F #6357CF
square
#CF5787 #C3CF57 #57CF9F #6357CF
split-complementary
#CF5787 #57CF63 #57C3CF
monochromatic
#85264C #B53467 #CF5787 #DD87A9 #EAB6CB

Accessibility & contrast

On white

3.91
#CF5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CF5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5787
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5787#FFFFFF#000000##000000
##CF57871.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5787;
/* rgb */ color: rgb(207, 87, 135);
/* oklch */ color: oklch(62.3% 0.159 357.8);
Tailwind
colors: {
  custom: {
    50: '#e18ba9',
    500: '#cf5787',
    950: '#000000',
  },
}
SCSS
$custom: #cf5787;
$custom-light: #e18ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5787",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 336,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6229,
    "c": 0.15908,
    "h": 357.8
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#CF5787
secondary
#A9D9C6
accent
#DFA349
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5787

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

Preview Lab → · Contrast checker → · Palette generator →

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