#CF4D81#CF4D81

#CF4D81 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.171 H 358.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4D81
RGBrgb(207, 77, 129)
HSLhsl(336, 58%, 56%)
HSVhsv(336, 63%, 81%)
CMYKcmyk(0%, 62.8%, 37.7%, 18.8%)
CIE-LABlab(52.02, 55.91, -1.75)
CIE-LCHlch(52.02, 55.94, 358.20°)
OKLaboklab(60.87% 0.1709 -0.0039)
OKLCHoklch(60.87% 0.171 358.7)
XYZxyz(32.3504, 20.1618, 22.9526)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D81 #4DCF9B
analogous
#CF4DC2 #CF4D81 #CF5A4D
triadic
#CF4D81 #81CF4D #4D81CF
tetradic
#CF4D81 #C2CF4D #4DCF9B #5A4DCF
square
#CF4D81 #C2CF4D #4DCF9B #5A4DCF
split-complementary
#CF4D81 #4DCF5A #4DC2CF
monochromatic
#7F2248 #AF2F63 #CF4D81 #DC7DA3 #E9ADC5

Accessibility & contrast

On white

4.17
#CF4D81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF4D81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D81
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D81#FFFFFF#000000##000000
##CF4D811.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646D82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DF4162
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d81;
/* rgb */ color: rgb(207, 77, 129);
/* oklch */ color: oklch(60.9% 0.171 358.7);
Tailwind
colors: {
  custom: {
    50: '#e286a5',
    500: '#cf4d81',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d81;
$custom-light: #e286a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d81",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 129
  },
  "hsl": {
    "h": 336,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.1709,
    "h": 358.7
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#CF4D81
secondary
#A1D7C1
accent
#E1A347
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4D81

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

Preview Lab → · Contrast checker → · Palette generator →

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