#CF5487#CF5487

#CF5487 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.9% C 0.163 H 357.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CF5487
RGBrgb(207, 84, 135)
HSLhsl(335, 56%, 57%)
HSVhsv(335, 59%, 81%)
CMYKcmyk(0%, 59.4%, 34.8%, 18.8%)
CIE-LABlab(53.34, 53.52, -3.38)
CIE-LCHlch(53.34, 53.63, 356.38°)
OKLaboklab(61.91% 0.1632 -0.0082)
OKLCHoklch(61.91% 0.163 357.1)
XYZxyz(33.2774, 21.3588, 25.2871)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5487 #54CF9C
analogous
#CF54C4 #CF5487 #CF5F54
triadic
#CF5487 #87CF54 #5487CF
tetradic
#CF5487 #C4CF54 #54CF9C #5F54CF
square
#CF5487 #C4CF54 #54CF9C #5F54CF
split-complementary
#CF5487 #54CF5F #54C4CF
monochromatic
#84254C #B33268 #CF5487 #DC84A9 #EAB4CA

Accessibility & contrast

On white

3.98
#CF5487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CF5487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5487
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5487#FFFFFF#000000##000000
##CF54871.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687189
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DE4A68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5487;
/* rgb */ color: rgb(207, 84, 135);
/* oklch */ color: oklch(61.9% 0.163 357.1);
Tailwind
colors: {
  custom: {
    50: '#e18aa9',
    500: '#cf5487',
    950: '#000000',
  },
}
SCSS
$custom: #cf5487;
$custom-light: #e18aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5487",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 335.122,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.16342,
    "h": 357.1
  },
  "luminance": 0.21355
}

Semantic roles & 50–950 ramp

primary
#CF5487
secondary
#A6D8C4
accent
#DFA148
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5487

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

Preview Lab → · Contrast checker → · Palette generator →

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