#CF4D9C#CF4D9C

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

Color values

HEX#CF4D9C
RGBrgb(207, 77, 156)
HSLhsl(324, 58%, 56%)
HSVhsv(324, 63%, 81%)
CMYKcmyk(0%, 62.8%, 24.6%, 18.8%)
CIE-LABlab(52.92, 59.19, -16.43)
CIE-LCHlch(52.92, 61.43, 344.49°)
OKLaboklab(61.83% 0.1787 -0.0434)
OKLCHoklch(61.83% 0.184 346.3)
XYZxyz(34.3880, 20.9768, 33.6839)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9C #4DCF80
analogous
#C14DCF #CF4D9C #CF4D5B
triadic
#CF4D9C #9CCF4D #4D9CCF
tetradic
#CF4D9C #CFC14D #4DCF80 #4D5BCF
square
#CF4D9C #CFC14D #4DCF80 #4D5BCF
split-complementary
#CF4D9C #5BCF4D #4DCFC1
monochromatic
#7F225B #AF2F7D #CF4D9C #DC7DB7 #E9ADD2

Accessibility & contrast

On white

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

On black

5.19
#CF4D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9C#FFFFFF#000000##000000
##CF4D9C1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#808799
Tritanopia (blue-blind)
#DC4A6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d9c;
/* rgb */ color: rgb(207, 77, 156);
/* oklch */ color: oklch(61.8% 0.184 346.3);
Tailwind
colors: {
  custom: {
    50: '#e186b9',
    500: '#cf4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9c;
$custom-light: #e186b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9c",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 323.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.18385,
    "h": 346.3
  },
  "luminance": 0.20973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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