#CF4D9E#CF4D9E

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

Color values

HEX#CF4D9E
RGBrgb(207, 77, 158)
HSLhsl(323, 58%, 56%)
HSVhsv(323, 63%, 81%)
CMYKcmyk(0%, 62.8%, 23.7%, 18.8%)
CIE-LABlab(53.00, 59.46, -17.49)
CIE-LCHlch(53.00, 61.98, 343.61°)
OKLaboklab(61.91% 0.1791 -0.0464)
OKLCHoklch(61.91% 0.185 345.5)
XYZxyz(34.5588, 21.0451, 34.5832)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9E #4DCF7E
analogous
#BF4DCF #CF4D9E #CF4D5D
triadic
#CF4D9E #9ECF4D #4D9ECF
tetradic
#CF4D9E #CFBF4D #4DCF7E #4D5DCF
square
#CF4D9E #CFBF4D #4DCF7E #4D5DCF
split-complementary
#CF4D9E #5DCF4D #4DCFBF
monochromatic
#7F225C #AF2F7F #CF4D9E #DC7DB8 #E9ADD3

Accessibility & contrast

On white

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

On black

5.21
#CF4D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9E#FFFFFF#000000##000000
##CF4D9E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A0
Deuteranopia (green-blind)
#80879B
Tritanopia (blue-blind)
#DC4B6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d9e;
/* rgb */ color: rgb(207, 77, 158);
/* oklch */ color: oklch(61.9% 0.185 345.5);
Tailwind
colors: {
  custom: {
    50: '#e186ba',
    500: '#cf4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9e;
$custom-light: #e186ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9e",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 322.615,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.18503,
    "h": 345.5
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#CF4D9E
secondary
#A1D7B5
accent
#E18147
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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