#CF4D9D#CF4D9D

#CF4D9D is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.184 H 345.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF4D9D
RGBrgb(207, 77, 157)
HSLhsl(323, 58%, 56%)
HSVhsv(323, 63%, 81%)
CMYKcmyk(0%, 62.8%, 24.2%, 18.8%)
CIE-LABlab(52.96, 59.33, -16.96)
CIE-LCHlch(52.96, 61.70, 344.04°)
OKLaboklab(61.87% 0.1789 -0.0449)
OKLCHoklch(61.87% 0.184 345.9)
XYZxyz(34.4730, 21.0108, 34.1317)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9D #4DCF7F
analogous
#C04DCF #CF4D9D #CF4D5C
triadic
#CF4D9D #9DCF4D #4D9DCF
tetradic
#CF4D9D #CFC04D #4DCF7F #4D5CCF
square
#CF4D9D #CFC04D #4DCF7F #4D5CCF
split-complementary
#CF4D9D #5CCF4D #4DCFC0
monochromatic
#7F225C #AF2F7E #CF4D9D #DC7DB8 #E9ADD2

Accessibility & contrast

On white

4.04
#CF4D9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF4D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9D#FFFFFF#000000##000000
##CF4D9D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709F
Deuteranopia (green-blind)
#80879A
Tritanopia (blue-blind)
#DC4B6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d9d;
/* rgb */ color: rgb(207, 77, 157);
/* oklch */ color: oklch(61.9% 0.184 345.9);
Tailwind
colors: {
  custom: {
    50: '#e186ba',
    500: '#cf4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9d;
$custom-light: #e186ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9d",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 323.077,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.18444,
    "h": 345.9
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#CF4D9D
secondary
#A1D7B6
accent
#E18247
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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