#CF4987#CF4987

#CF4987 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.179 H 355.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF4987
RGBrgb(207, 73, 135)
HSLhsl(332, 58%, 55%)
HSVhsv(332, 65%, 81%)
CMYKcmyk(0%, 64.7%, 34.8%, 18.8%)
CIE-LABlab(51.59, 58.26, -5.97)
CIE-LCHlch(51.59, 58.56, 354.15°)
OKLaboklab(60.61% 0.178 -0.015)
OKLCHoklch(60.61% 0.179 355.2)
XYZxyz(32.4897, 19.7834, 25.0246)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4987 #49CF91
analogous
#CF49CA #CF4987 #CF4E49
triadic
#CF4987 #87CF49 #4987CF
tetradic
#CF4987 #CACF49 #49CF91 #4E49CF
square
#CF4987 #CACF49 #49CF91 #4E49CF
split-complementary
#CF4987 #49CF4E #49CACF
monochromatic
#7D214B #AD2E69 #CF4987 #DC79A7 #E9AAC7

Accessibility & contrast

On white

4.24
#CF4987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF4987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4987
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4987#FFFFFF#000000##000000
##CF49871.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#DF3E62
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4987;
/* rgb */ color: rgb(207, 73, 135);
/* oklch */ color: oklch(60.6% 0.179 355.2);
Tailwind
colors: {
  custom: {
    50: '#e284a9',
    500: '#cf4987',
    950: '#000000',
  },
}
SCSS
$custom: #cf4987;
$custom-light: #e284a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4987",
  "rgb": {
    "r": 207,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 332.239,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.17864,
    "h": 355.2
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#CF4987
secondary
#9ED6BC
accent
#E19A46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4987

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

Preview Lab → · Contrast checker → · Palette generator →

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