#CF4C78#CF4C78

#CF4C78 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.169 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF4C78
RGBrgb(207, 76, 120)
HSLhsl(340, 58%, 55%)
HSVhsv(340, 63%, 81%)
CMYKcmyk(0%, 63.3%, 42%, 18.8%)
CIE-LABlab(51.60, 55.38, 3.03)
CIE-LCHlch(51.60, 55.47, 3.13°)
OKLaboklab(60.47% 0.1691 0.0085)
OKLCHoklch(60.47% 0.169 2.9)
XYZxyz(31.7089, 19.7941, 19.9165)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C78 #4CCFA3
analogous
#CF4CBA #CF4C78 #CF614C
triadic
#CF4C78 #78CF4C #4C78CF
tetradic
#CF4C78 #BACF4C #4CCFA3 #614CCF
square
#CF4C78 #BACF4C #4CCFA3 #614CCF
split-complementary
#CF4C78 #4CCF61 #4CBACF
monochromatic
#7F2241 #AF2F5A #CF4C78 #DC7C9C #E9ADC1

Accessibility & contrast

On white

4.24
#CF4C78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF4C78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C78
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C78#FFFFFF#000000##000000
##CF4C781.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#898475
Tritanopia (blue-blind)
#E03D5D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c78;
/* rgb */ color: rgb(207, 76, 120);
/* oklch */ color: oklch(60.5% 0.169 2.9);
Tailwind
colors: {
  custom: {
    50: '#e2859e',
    500: '#cf4c78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c78;
$custom-light: #e2859e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c78",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 339.847,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.16934,
    "h": 2.9
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#CF4C78
secondary
#A0D7C4
accent
#E1AD47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4C78

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

Preview Lab → · Contrast checker → · Palette generator →

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