#CF487E#CF487E

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

Color values

HEX#CF487E
RGBrgb(207, 72, 126)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 65%, 81%)
CMYKcmyk(0%, 65.2%, 39.1%, 18.8%)
CIE-LABlab(51.16, 57.67, -1.21)
CIE-LCHlch(51.16, 57.69, 358.80°)
OKLaboklab(60.2% 0.1764 -0.0025)
OKLCHoklch(60.2% 0.176 359.2)
XYZxyz(31.8174, 19.4102, 21.8056)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF487E #48CF99
analogous
#CF48C2 #CF487E #CF5648
triadic
#CF487E #7ECF48 #487ECF
tetradic
#CF487E #C2CF48 #48CF99 #5648CF
square
#CF487E #C2CF48 #48CF99 #5648CF
split-complementary
#CF487E #48CF56 #48C2CF
monochromatic
#7C2145 #AD2D60 #CF487E #DC78A0 #E8A9C2

Accessibility & contrast

On white

4.30
#CF487E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF487E#FFFFFF#000000##000000
##CF487E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A7F
Deuteranopia (green-blind)
#86837B
Tritanopia (blue-blind)
#DF3A5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf487e;
/* rgb */ color: rgb(207, 72, 126);
/* oklch */ color: oklch(60.2% 0.176 359.2);
Tailwind
colors: {
  custom: {
    50: '#e283a3',
    500: '#cf487e',
    950: '#000000',
  },
}
SCSS
$custom: #cf487e;
$custom-light: #e283a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf487e",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 336,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.17646,
    "h": 359.2
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#CF487E
secondary
#9DD6BF
accent
#E2A346
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF487E

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

Preview Lab → · Contrast checker → · Palette generator →

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