#DF4078#DF4078

#DF4078 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.8% C 0.199 H 3.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#DF4078
RGBrgb(223, 64, 120)
HSLhsl(339, 71%, 56%)
HSVhsv(339, 71%, 87%)
CMYKcmyk(0%, 71.3%, 46.2%, 12.5%)
CIE-LABlab(52.64, 64.77, 4.87)
CIE-LCHlch(52.64, 64.95, 4.30°)
OKLaboklab(61.75% 0.1981 0.0132)
OKLCHoklch(61.75% 0.199 3.8)
XYZxyz(35.6579, 20.7155, 19.8864)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4078 #40DFA7
analogous
#DF40C8 #DF4078 #DF5840
triadic
#DF4078 #78DF40 #4078DF
tetradic
#DF4078 #C8DF40 #40DFA7 #5840DF
square
#DF4078 #C8DF40 #40DFA7 #5840DF
split-complementary
#DF4078 #40DF58 #40C8DF
monochromatic
#8D1841 #C12059 #DF4078 #E8749D #F1A9C2

Accessibility & contrast

On white

4.08
#DF4078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#DF4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4078
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4078#FFFFFF#000000##000000
##DF40781.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A79
Deuteranopia (green-blind)
#8E8974
Tritanopia (blue-blind)
#F22457
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df4078;
/* rgb */ color: rgb(223, 64, 120);
/* oklch */ color: oklch(61.8% 0.199 3.8);
Tailwind
colors: {
  custom: {
    50: '#ef819e',
    500: '#df4078',
    950: '#000000',
  },
}
SCSS
$custom: #df4078;
$custom-light: #ef819e;
$custom-dark: #000000;
JSON
{
  "hex": "#df4078",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 338.868,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.19858,
    "h": 3.8
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#DF4078
secondary
#9DDEC7
accent
#EEAF3A
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#180B0E
muted
#867C7E

Preview Lab

Preview with #DF4078

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

Preview Lab → · Contrast checker → · Palette generator →

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