#CF4D78#CF4D78

#CF4D78 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.168 H 3.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CF4D78
RGBrgb(207, 77, 120)
HSLhsl(340, 58%, 56%)
HSVhsv(340, 63%, 81%)
CMYKcmyk(0%, 62.8%, 42%, 18.8%)
CIE-LABlab(51.76, 54.96, 3.25)
CIE-LCHlch(51.76, 55.05, 3.39°)
OKLaboklab(60.59% 0.1678 0.009)
OKLCHoklch(60.59% 0.168 3.1)
XYZxyz(31.7783, 19.9329, 19.9396)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D78 #4DCFA4
analogous
#CF4DB9 #CF4D78 #CF634D
triadic
#CF4D78 #78CF4D #4D78CF
tetradic
#CF4D78 #B9CF4D #4DCFA4 #634DCF
square
#CF4D78 #B9CF4D #4DCFA4 #634DCF
split-complementary
#CF4D78 #4DCF63 #4DB9CF
monochromatic
#7F2241 #AF2F5A #CF4D78 #DC7D9D #E9ADC1

Accessibility & contrast

On white

4.21
#CF4D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CF4D78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D78
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D78#FFFFFF#000000##000000
##CF4D781.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676B79
Deuteranopia (green-blind)
#898575
Tritanopia (blue-blind)
#E03E5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4d78;
/* rgb */ color: rgb(207, 77, 120);
/* oklch */ color: oklch(60.6% 0.168 3.1);
Tailwind
colors: {
  custom: {
    50: '#e2869e',
    500: '#cf4d78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d78;
$custom-light: #e2869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d78",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 340.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60591,
    "c": 0.16802,
    "h": 3.1
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#CF4D78
secondary
#A1D7C5
accent
#E1AE47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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