#CF4D9F#CF4D9F

#CF4D9F is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.186 H 345.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF4D9F
RGBrgb(207, 77, 159)
HSLhsl(322, 58%, 56%)
HSVhsv(322, 63%, 81%)
CMYKcmyk(0%, 62.8%, 23.2%, 18.8%)
CIE-LABlab(53.04, 59.60, -18.03)
CIE-LCHlch(53.04, 62.26, 343.17°)
OKLaboklab(61.95% 0.1794 -0.0478)
OKLCHoklch(61.95% 0.186 345.1)
XYZxyz(34.6452, 21.0797, 35.0384)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9F #4DCF7D
analogous
#BE4DCF #CF4D9F #CF4D5E
triadic
#CF4D9F #9FCF4D #4D9FCF
tetradic
#CF4D9F #CFBE4D #4DCF7D #4D5ECF
square
#CF4D9F #CFBE4D #4DCF7D #4D5ECF
split-complementary
#CF4D9F #5ECF4D #4DCFBE
monochromatic
#7F225D #AF2F80 #CF4D9F #DC7DB9 #E9ADD3

Accessibility & contrast

On white

4.03
#CF4D9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CF4D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9F#FFFFFF#000000##000000
##CF4D9F1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#7F879C
Tritanopia (blue-blind)
#DC4C6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4d9f;
/* rgb */ color: rgb(207, 77, 159);
/* oklch */ color: oklch(62.0% 0.186 345.1);
Tailwind
colors: {
  custom: {
    50: '#e186bb',
    500: '#cf4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9f;
$custom-light: #e186bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9f",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 322.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.18563,
    "h": 345.1
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#CF4D9F
secondary
#A1D7B5
accent
#E18047
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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