#CF487F#CF487F

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

Color values

HEX#CF487F
RGBrgb(207, 72, 127)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 65%, 81%)
CMYKcmyk(0%, 65.2%, 38.6%, 18.8%)
CIE-LABlab(51.19, 57.78, -1.77)
CIE-LCHlch(51.19, 57.81, 358.25°)
OKLaboklab(60.24% 0.1768 -0.0039)
OKLCHoklch(60.24% 0.177 358.7)
XYZxyz(31.8823, 19.4361, 22.1471)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF487F #48CF98
analogous
#CF48C2 #CF487F #CF5548
triadic
#CF487F #7FCF48 #487FCF
tetradic
#CF487F #C2CF48 #48CF98 #5548CF
square
#CF487F #C2CF48 #48CF98 #5548CF
split-complementary
#CF487F #48CF55 #48C2CF
monochromatic
#7C2146 #AD2D61 #CF487F #DC78A1 #E8A9C3

Accessibility & contrast

On white

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

On black

4.89
#CF487F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF487F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF487F#FFFFFF#000000##000000
##CF487F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf487f;
/* rgb */ color: rgb(207, 72, 127);
/* oklch */ color: oklch(60.2% 0.177 358.7);
Tailwind
colors: {
  custom: {
    50: '#e283a4',
    500: '#cf487f',
    950: '#000000',
  },
}
SCSS
$custom: #cf487f;
$custom-light: #e283a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf487f",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 335.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.17681,
    "h": 358.7
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF487F

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

Preview Lab → · Contrast checker → · Palette generator →

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