#CF487D#CF487D

#CF487D is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.176 H 359.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF487D
RGBrgb(207, 72, 125)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 65%, 81%)
CMYKcmyk(0%, 65.2%, 39.6%, 18.8%)
CIE-LABlab(51.13, 57.57, -0.66)
CIE-LCHlch(51.13, 57.57, 359.35°)
OKLaboklab(60.17% 0.1761 -0.001)
OKLCHoklch(60.17% 0.176 359.7)
XYZxyz(31.7532, 19.3845, 21.4675)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF487D #48CF9A
analogous
#CF48C1 #CF487D #CF5648
triadic
#CF487D #7DCF48 #487DCF
tetradic
#CF487D #C1CF48 #48CF9A #5648CF
square
#CF487D #C1CF48 #48CF9A #5648CF
split-complementary
#CF487D #48CF56 #48C1CF
monochromatic
#7C2144 #AD2D5F #CF487D #DC789F #E8A9C2

Accessibility & contrast

On white

4.31
#CF487D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF487D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF487D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF487D#FFFFFF#000000##000000
##CF487D1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7E
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#E03A5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf487d;
/* rgb */ color: rgb(207, 72, 125);
/* oklch */ color: oklch(60.2% 0.176 359.7);
Tailwind
colors: {
  custom: {
    50: '#e283a2',
    500: '#cf487d',
    950: '#000000',
  },
}
SCSS
$custom: #cf487d;
$custom-light: #e283a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf487d",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 336.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.17611,
    "h": 359.7
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#CF487D
secondary
#9DD6C0
accent
#E2A546
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF487D

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

Preview Lab → · Contrast checker → · Palette generator →

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