#CF4D82#CF4D82

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

Color values

HEX#CF4D82
RGBrgb(207, 77, 130)
HSLhsl(336, 58%, 56%)
HSVhsv(336, 63%, 81%)
CMYKcmyk(0%, 62.8%, 37.2%, 18.8%)
CIE-LABlab(52.05, 56.02, -2.31)
CIE-LCHlch(52.05, 56.07, 357.64°)
OKLaboklab(60.9% 0.1712 -0.0053)
OKLCHoklch(60.9% 0.171 358.2)
XYZxyz(32.4172, 20.1885, 23.3044)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D82 #4DCF9A
analogous
#CF4DC3 #CF4D82 #CF594D
triadic
#CF4D82 #82CF4D #4D82CF
tetradic
#CF4D82 #C3CF4D #4DCF9A #594DCF
square
#CF4D82 #C3CF4D #4DCF9A #594DCF
split-complementary
#CF4D82 #4DCF59 #4DC3CF
monochromatic
#7F2248 #AF2F64 #CF4D82 #DC7DA4 #E9ADC6

Accessibility & contrast

On white

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

On black

5.04
#CF4D82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D82
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D82#FFFFFF#000000##000000
##CF4D821.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4d82;
/* rgb */ color: rgb(207, 77, 130);
/* oklch */ color: oklch(60.9% 0.171 358.2);
Tailwind
colors: {
  custom: {
    50: '#e286a6',
    500: '#cf4d82',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d82;
$custom-light: #e286a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d82",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 335.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.609,
    "c": 0.17126,
    "h": 358.2
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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