#CF4D87#CF4D87

#CF4D87 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.173 H 355.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF4D87
RGBrgb(207, 77, 135)
HSLhsl(333, 58%, 56%)
HSVhsv(333, 63%, 81%)
CMYKcmyk(0%, 62.8%, 34.8%, 18.8%)
CIE-LABlab(52.20, 56.59, -5.06)
CIE-LCHlch(52.20, 56.82, 354.89°)
OKLaboklab(61.07% 0.1728 -0.0126)
OKLCHoklch(61.07% 0.173 355.8)
XYZxyz(32.7610, 20.3260, 25.1150)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D87 #4DCF95
analogous
#CF4DC8 #CF4D87 #CF544D
triadic
#CF4D87 #87CF4D #4D87CF
tetradic
#CF4D87 #C8CF4D #4DCF95 #544DCF
square
#CF4D87 #C8CF4D #4DCF95 #544DCF
split-complementary
#CF4D87 #4DCF54 #4DC8CF
monochromatic
#7F224C #AF2F68 #CF4D87 #DC7DA7 #E9ADC8

Accessibility & contrast

On white

4.15
#CF4D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D87
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D87#FFFFFF#000000##000000
##CF4D871.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636D89
Deuteranopia (green-blind)
#868584
Tritanopia (blue-blind)
#DF4364
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d87;
/* rgb */ color: rgb(207, 77, 135);
/* oklch */ color: oklch(61.1% 0.173 355.8);
Tailwind
colors: {
  custom: {
    50: '#e286a9',
    500: '#cf4d87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d87;
$custom-light: #e286a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d87",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 333.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.17324,
    "h": 355.8
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#CF4D87
secondary
#A1D7BF
accent
#E19C47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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