#CF4A87#CF4A87

#CF4A87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.177 H 355.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF4A87
RGBrgb(207, 74, 135)
HSLhsl(332, 58%, 55%)
HSVhsv(332, 64%, 81%)
CMYKcmyk(0%, 64.3%, 34.8%, 18.8%)
CIE-LABlab(51.74, 57.85, -5.75)
CIE-LCHlch(51.74, 58.13, 354.33°)
OKLaboklab(60.72% 0.1767 -0.0144)
OKLCHoklch(60.72% 0.177 355.3)
XYZxyz(32.5559, 19.9158, 25.0466)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A87 #4ACF92
analogous
#CF4ACA #CF4A87 #CF4F4A
triadic
#CF4A87 #87CF4A #4A87CF
tetradic
#CF4A87 #CACF4A #4ACF92 #4F4ACF
square
#CF4A87 #CACF4A #4ACF92 #4F4ACF
split-complementary
#CF4A87 #4ACF4F #4ACACF
monochromatic
#7D214B #AE2E69 #CF4A87 #DC7AA7 #E9ABC7

Accessibility & contrast

On white

4.21
#CF4A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF4A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A87
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A87#FFFFFF#000000##000000
##CF4A871.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C89
Deuteranopia (green-blind)
#858484
Tritanopia (blue-blind)
#DF4063
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4a87;
/* rgb */ color: rgb(207, 74, 135);
/* oklch */ color: oklch(60.7% 0.177 355.3);
Tailwind
colors: {
  custom: {
    50: '#e284a9',
    500: '#cf4a87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a87;
$custom-light: #e284a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a87",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 332.481,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.17731,
    "h": 355.3
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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