#CF4E78#CF4E78

#CF4E78 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.167 H 3.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF4E78
RGBrgb(207, 78, 120)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 62%, 81%)
CMYKcmyk(0%, 62.3%, 42%, 18.8%)
CIE-LABlab(51.92, 54.52, 3.49)
CIE-LCHlch(51.92, 54.64, 3.66°)
OKLaboklab(60.71% 0.1664 0.0096)
OKLCHoklch(60.71% 0.167 3.3)
XYZxyz(31.8488, 20.0740, 19.9631)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E78 #4ECFA5
analogous
#CF4EB8 #CF4E78 #CF644E
triadic
#CF4E78 #78CF4E #4E78CF
tetradic
#CF4E78 #B8CF4E #4ECFA5 #644ECF
square
#CF4E78 #B8CF4E #4ECFA5 #644ECF
split-complementary
#CF4E78 #4ECF64 #4EB8CF
monochromatic
#802341 #B0305A #CF4E78 #DC7E9D #E9AEC1

Accessibility & contrast

On white

4.19
#CF4E78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF4E78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E78
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E78#FFFFFF#000000##000000
##CF4E781.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#898575
Tritanopia (blue-blind)
#E03F5E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e78;
/* rgb */ color: rgb(207, 78, 120);
/* oklch */ color: oklch(60.7% 0.167 3.3);
Tailwind
colors: {
  custom: {
    50: '#e2869e',
    500: '#cf4e78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e78;
$custom-light: #e2869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e78",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 340.465,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.1667,
    "h": 3.3
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#CF4E78
secondary
#A2D7C6
accent
#E1AF47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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