#CF5F87#CF5F87

#CF5F87 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.4% C 0.147 H 359.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CF5F87
RGBrgb(207, 95, 135)
HSLhsl(339, 54%, 59%)
HSVhsv(339, 54%, 81%)
CMYKcmyk(0%, 54.1%, 34.8%, 18.8%)
CIE-LABlab(55.28, 48.39, -0.53)
CIE-LCHlch(55.28, 48.39, 359.37°)
OKLaboklab(63.36% 0.1472 -0.0008)
OKLCHoklch(63.36% 0.147 359.7)
XYZxyz(34.1992, 23.2025, 25.5944)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5F87 #5FCFA7
analogous
#CF5FBF #CF5F87 #CF6F5F
triadic
#CF5F87 #87CF5F #5F87CF
tetradic
#CF5F87 #BFCF5F #5FCFA7 #6F5FCF
square
#CF5F87 #BFCF5F #5FCFA7 #6F5FCF
split-complementary
#CF5F87 #5FCF6F #5FBFCF
monochromatic
#8A294C #B93866 #CF5F87 #DD8EAA #EBBDCE

Accessibility & contrast

On white

3.72
#CF5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CF5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5F87
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5F87#FFFFFF#000000##000000
##CF5F871.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#717788
Deuteranopia (green-blind)
#8E8C84
Tritanopia (blue-blind)
#DE566E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf5f87;
/* rgb */ color: rgb(207, 95, 135);
/* oklch */ color: oklch(63.4% 0.147 359.7);
Tailwind
colors: {
  custom: {
    50: '#e190a9',
    500: '#cf5f87',
    950: '#000000',
  },
}
SCSS
$custom: #cf5f87;
$custom-light: #e190a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5f87",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 338.571,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.14724,
    "h": 359.7
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

primary
#CF5F87
secondary
#AFDBCB
accent
#DDA94B
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CF5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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