#CF4D9A#CF4D9A

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

Color values

HEX#CF4D9A
RGBrgb(207, 77, 154)
HSLhsl(324, 58%, 56%)
HSVhsv(324, 63%, 81%)
CMYKcmyk(0%, 62.8%, 25.6%, 18.8%)
CIE-LABlab(52.85, 58.93, -15.36)
CIE-LCHlch(52.85, 60.90, 345.39°)
OKLaboklab(61.76% 0.1782 -0.0405)
OKLCHoklch(61.76% 0.183 347.2)
XYZxyz(34.2201, 20.9096, 32.7994)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9A #4DCF82
analogous
#C34DCF #CF4D9A #CF4D59
triadic
#CF4D9A #9ACF4D #4D9ACF
tetradic
#CF4D9A #CFC34D #4DCF82 #4D59CF
square
#CF4D9A #CFC34D #4DCF82 #4D59CF
split-complementary
#CF4D9A #59CF4D #4DCFC3
monochromatic
#7F2259 #AF2F7B #CF4D9A #DC7DB5 #E9ADD1

Accessibility & contrast

On white

4.05
#CF4D9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF4D9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9A#FFFFFF#000000##000000
##CF4D9A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709C
Deuteranopia (green-blind)
#818697
Tritanopia (blue-blind)
#DD4A6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d9a;
/* rgb */ color: rgb(207, 77, 154);
/* oklch */ color: oklch(61.8% 0.183 347.2);
Tailwind
colors: {
  custom: {
    50: '#e186b7',
    500: '#cf4d9a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9a;
$custom-light: #e186b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9a",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 324.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.18269,
    "h": 347.2
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#CF4D9A
secondary
#A1D7B7
accent
#E18647
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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