#CF487C#CF487C

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

Color values

HEX#CF487C
RGBrgb(207, 72, 124)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 65%, 81%)
CMYKcmyk(0%, 65.2%, 40.1%, 18.8%)
CIE-LABlab(51.10, 57.46, -0.10)
CIE-LCHlch(51.10, 57.46, 359.90°)
OKLaboklab(60.14% 0.1758 0.0004)
OKLCHoklch(60.14% 0.176 0.1)
XYZxyz(31.6897, 19.3591, 21.1327)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF487C #48CF9B
analogous
#CF48C0 #CF487C #CF5848
triadic
#CF487C #7CCF48 #487CCF
tetradic
#CF487C #C0CF48 #48CF9B #5848CF
square
#CF487C #C0CF48 #48CF9B #5848CF
split-complementary
#CF487C #48CF58 #48C0CF
monochromatic
#7C2144 #AD2D5E #CF487C #DC789F #E8A9C1

Accessibility & contrast

On white

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

On black

4.87
#CF487C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF487C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF487C#FFFFFF#000000##000000
##CF487C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#E0395D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf487c;
/* rgb */ color: rgb(207, 72, 124);
/* oklch */ color: oklch(60.1% 0.176 0.1);
Tailwind
colors: {
  custom: {
    50: '#e283a1',
    500: '#cf487c',
    950: '#000000',
  },
}
SCSS
$custom: #cf487c;
$custom-light: #e283a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf487c",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 336.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.17577,
    "h": 0.1
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF487C

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

Preview Lab → · Contrast checker → · Palette generator →

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