#DF5170#DF5170

#DF5170 is a light, vivid red. Relative luminance 0.227; OKLCH L 63.3% C 0.177 H 10.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DF5170
RGBrgb(223, 81, 112)
HSLhsl(347, 69%, 60%)
HSVhsv(347, 64%, 87%)
CMYKcmyk(0%, 63.7%, 49.8%, 12.5%)
CIE-LABlab(54.81, 57.55, 12.72)
CIE-LCHlch(54.81, 58.94, 12.46°)
OKLaboklab(63.3% 0.1745 0.0326)
OKLCHoklch(63.3% 0.177 10.6)
XYZxyz(36.3014, 22.7473, 17.8051)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5170 #51DFC0
analogous
#DF51B7 #DF5170 #DF7951
triadic
#DF5170 #70DF51 #5170DF
tetradic
#DF5170 #B7DF51 #51DFC0 #7951DF
square
#DF5170 #B7DF51 #51DFC0 #7951DF
split-complementary
#DF5170 #51DF79 #51B7DF
monochromatic
#991C38 #CD264A #DF5170 #E9859A #F2B8C5

Accessibility & contrast

On white

3.78
#DF5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DF5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5170
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5170#FFFFFF#000000##000000
##DF51701.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#968E6D
Tritanopia (blue-blind)
#F23A5D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df5170;
/* rgb */ color: rgb(223, 81, 112);
/* oklch */ color: oklch(63.3% 0.177 10.6);
Tailwind
colors: {
  custom: {
    50: '#ef8998',
    500: '#df5170',
    950: '#000000',
  },
}
SCSS
$custom: #df5170;
$custom-light: #ef8998;
$custom-dark: #000000;
JSON
{
  "hex": "#df5170",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 346.901,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63299,
    "c": 0.17748,
    "h": 10.6
  },
  "luminance": 0.22743
}

Semantic roles & 50–950 ramp

primary
#DF5170
secondary
#AAE1D5
accent
#ECC53C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #DF5170

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

Preview Lab → · Contrast checker → · Palette generator →

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