#CF3978#CF3978

#CF3978 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.192 H 359.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF3978
RGBrgb(207, 57, 120)
HSLhsl(335, 61%, 52%)
HSVhsv(335, 72%, 81%)
CMYKcmyk(0%, 72.5%, 42%, 18.8%)
CIE-LABlab(48.95, 62.69, -0.84)
CIE-LCHlch(48.95, 62.70, 359.23°)
OKLaboklab(58.51% 0.1924 -0.0014)
OKLCHoklch(58.51% 0.192 359.6)
XYZxyz(30.5877, 17.5516, 19.5427)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3978 #39CF90
analogous
#CF39C3 #CF3978 #CF4539
triadic
#CF3978 #78CF39 #3978CF
tetradic
#CF3978 #C3CF39 #39CF90 #4539CF
square
#CF3978 #C3CF39 #39CF90 #4539CF
split-complementary
#CF3978 #39CF45 #39C3CF
monochromatic
#721C40 #A3285C #CF3978 #DB6A9A #E79CBB

Accessibility & contrast

On white

4.66
#CF3978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CF3978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3978
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3978#FFFFFF#000000##FFFFFF
##CF39781.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#E02354
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3978;
/* rgb */ color: rgb(207, 57, 120);
/* oklch */ color: oklch(58.5% 0.192 359.6);
Tailwind
colors: {
  custom: {
    50: '#e37c9e',
    500: '#cf3978',
    950: '#000000',
  },
}
SCSS
$custom: #cf3978;
$custom-light: #e37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3978",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 334.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.19236,
    "h": 359.6
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#CF3978
secondary
#91D3B7
accent
#E4A144
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF3978

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

Preview Lab → · Contrast checker → · Palette generator →

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