#DC5F78#DC5F78

#DC5F78 is a light, vivid red. Relative luminance 0.248; OKLCH L 64.8% C 0.158 H 10.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DC5F78
RGBrgb(220, 95, 120)
HSLhsl(348, 64%, 62%)
HSVhsv(348, 57%, 86%)
CMYKcmyk(0%, 56.8%, 45.5%, 13.7%)
CIE-LABlab(56.84, 51.11, 10.78)
CIE-LCHlch(56.84, 52.24, 11.91°)
OKLaboklab(64.79% 0.155 0.0279)
OKLCHoklch(64.79% 0.158 10.2)
XYZxyz(37.0002, 24.7603, 20.5964)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5F78 #5FDCC3
analogous
#DC5FB7 #DC5F78 #DC855F
triadic
#DC5F78 #78DC5F #5F78DC
tetradic
#DC5F78 #B7DC5F #5FDCC3 #855FDC
square
#DC5F78 #B7DC5F #5FDCC3 #855FDC
split-complementary
#DC5F78 #5FDC85 #5FB7DC
monochromatic
#9E233B #D02E4E #DC5F78 #E791A2 #F2C3CD

Accessibility & contrast

On white

3.53
#DC5F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DC5F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5F78
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5F78#FFFFFF#000000##000000
##DC5F781.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#797978
Deuteranopia (green-blind)
#999275
Tritanopia (blue-blind)
#EE4F68
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc5f78;
/* rgb */ color: rgb(220, 95, 120);
/* oklch */ color: oklch(64.8% 0.158 10.2);
Tailwind
colors: {
  custom: {
    50: '#eb919e',
    500: '#dc5f78',
    950: '#000000',
  },
}
SCSS
$custom: #dc5f78;
$custom-light: #eb919e;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5f78",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 120
  },
  "hsl": {
    "h": 348,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64788,
    "c": 0.15752,
    "h": 10.2
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#DC5F78
secondary
#B4E3D9
accent
#CCA81A
background
#FFF9F9
surface
#FEF1F2
border
#D6CBCC
text
#170D0E
muted
#857E7E

Preview Lab

Preview with #DC5F78

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

Preview Lab → · Contrast checker → · Palette generator →

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