#CF4078#CF4078

#CF4078 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.184 H 0.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF4078
RGBrgb(207, 64, 120)
HSLhsl(337, 60%, 53%)
HSVhsv(337, 69%, 81%)
CMYKcmyk(0%, 69.1%, 42%, 18.8%)
CIE-LABlab(49.85, 60.19, 0.48)
CIE-LCHlch(49.85, 60.19, 0.46°)
OKLaboklab(59.17% 0.1844 0.0019)
OKLCHoklch(59.17% 0.184 0.6)
XYZxyz(30.9579, 18.2921, 19.6661)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4078 #40CF97
analogous
#CF40C0 #CF4078 #CF4F40
triadic
#CF4078 #78CF40 #4078CF
tetradic
#CF4078 #C0CF40 #40CF97 #4F40CF
square
#CF4078 #C0CF40 #40CF97 #4F40CF
split-complementary
#CF4078 #40CF4F #40C0CF
monochromatic
#771E41 #A82A5B #CF4078 #DB719B #E8A2BD

Accessibility & contrast

On white

4.51
#CF4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CF4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4078
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4078#FFFFFF#000000##000000
##CF40781.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#E02D57
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4078;
/* rgb */ color: rgb(207, 64, 120);
/* oklch */ color: oklch(59.2% 0.184 0.6);
Tailwind
colors: {
  custom: {
    50: '#e37f9e',
    500: '#cf4078',
    950: '#000000',
  },
}
SCSS
$custom: #cf4078;
$custom-light: #e37f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4078",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 336.503,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.18438,
    "h": 0.6
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#CF4078
secondary
#97D4BC
accent
#E3A545
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4078

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

Preview Lab → · Contrast checker → · Palette generator →

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