#CF3A78#CF3A78

#CF3A78 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.191 H 359.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CF3A78
RGBrgb(207, 58, 120)
HSLhsl(335, 61%, 52%)
HSVhsv(335, 72%, 81%)
CMYKcmyk(0%, 72%, 42%, 18.8%)
CIE-LABlab(49.07, 62.35, -0.66)
CIE-LCHlch(49.07, 62.35, 359.40°)
OKLaboklab(58.6% 0.1913 -0.001)
OKLCHoklch(58.6% 0.191 359.7)
XYZxyz(30.6376, 17.6515, 19.5594)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A78 #3ACF91
analogous
#CF3AC2 #CF3A78 #CF473A
triadic
#CF3A78 #78CF3A #3A78CF
tetradic
#CF3A78 #C2CF3A #3ACF91 #473ACF
square
#CF3A78 #C2CF3A #3ACF91 #473ACF
split-complementary
#CF3A78 #3ACF47 #3AC2CF
monochromatic
#731C40 #A4285C #CF3A78 #DB6B9A #E79CBB

Accessibility & contrast

On white

4.64
#CF3A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CF3A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3A78
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A78#FFFFFF#000000##FFFFFF
##CF3A781.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A627A
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#E02554
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf3a78;
/* rgb */ color: rgb(207, 58, 120);
/* oklch */ color: oklch(58.6% 0.191 359.7);
Tailwind
colors: {
  custom: {
    50: '#e37c9e',
    500: '#cf3a78',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a78;
$custom-light: #e37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a78",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 335.034,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.19125,
    "h": 359.7
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#CF3A78
secondary
#92D3B8
accent
#E4A144
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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