#CF4C9D#CF4C9D

#CF4C9D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.186 H 345.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF4C9D
RGBrgb(207, 76, 157)
HSLhsl(323, 58%, 55%)
HSVhsv(323, 63%, 81%)
CMYKcmyk(0%, 63.3%, 24.2%, 18.8%)
CIE-LABlab(52.81, 59.74, -17.19)
CIE-LCHlch(52.81, 62.17, 343.94°)
OKLaboklab(61.76% 0.1802 -0.0455)
OKLCHoklch(61.76% 0.186 345.8)
XYZxyz(34.4036, 20.8720, 34.1086)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C9D #4CCF7E
analogous
#C04CCF #CF4C9D #CF4C5B
triadic
#CF4C9D #9DCF4C #4C9DCF
tetradic
#CF4C9D #CFC04C #4CCF7E #4C5BCF
square
#CF4C9D #CFC04C #4CCF7E #4C5BCF
split-complementary
#CF4C9D #5BCF4C #4CCFC0
monochromatic
#7F225B #AF2F7E #CF4C9D #DC7CB7 #E9ADD2

Accessibility & contrast

On white

4.06
#CF4C9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF4C9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C9D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C9D#FFFFFF#000000##000000
##CF4C9D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#80869A
Tritanopia (blue-blind)
#DC4A6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4c9d;
/* rgb */ color: rgb(207, 76, 157);
/* oklch */ color: oklch(61.8% 0.186 345.8);
Tailwind
colors: {
  custom: {
    50: '#e186ba',
    500: '#cf4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c9d;
$custom-light: #e186ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c9d",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 322.901,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.18583,
    "h": 345.8
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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