#CF4E87#CF4E87

#CF4E87 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.172 H 356.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF4E87
RGBrgb(207, 78, 135)
HSLhsl(333, 57%, 56%)
HSVhsv(333, 62%, 81%)
CMYKcmyk(0%, 62.3%, 34.8%, 18.8%)
CIE-LABlab(52.36, 56.16, -4.83)
CIE-LCHlch(52.36, 56.37, 355.08°)
OKLaboklab(61.18% 0.1715 -0.012)
OKLCHoklch(61.18% 0.172 356)
XYZxyz(32.8315, 20.4670, 25.1385)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E87 #4ECF96
analogous
#CF4EC8 #CF4E87 #CF554E
triadic
#CF4E87 #87CF4E #4E87CF
tetradic
#CF4E87 #C8CF4E #4ECF96 #554ECF
square
#CF4E87 #C8CF4E #4ECF96 #554ECF
split-complementary
#CF4E87 #4ECF55 #4EC8CF
monochromatic
#80234C #B03068 #CF4E87 #DC7EA8 #E9AEC8

Accessibility & contrast

On white

4.12
#CF4E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF4E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E87
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E87#FFFFFF#000000##000000
##CF4E871.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E89
Deuteranopia (green-blind)
#868684
Tritanopia (blue-blind)
#DF4465
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4e87;
/* rgb */ color: rgb(207, 78, 135);
/* oklch */ color: oklch(61.2% 0.172 356.0);
Tailwind
colors: {
  custom: {
    50: '#e286a9',
    500: '#cf4e87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e87;
$custom-light: #e286a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e87",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 333.488,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.17187,
    "h": 356
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#CF4E87
secondary
#A2D7C0
accent
#E19D47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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