#DF5171#DF5171

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

Color values

HEX#DF5171
RGBrgb(223, 81, 113)
HSLhsl(346, 69%, 60%)
HSVhsv(346, 64%, 87%)
CMYKcmyk(0%, 63.7%, 49.3%, 12.5%)
CIE-LABlab(54.83, 57.64, 12.16)
CIE-LCHlch(54.83, 58.90, 11.91°)
OKLaboklab(63.32% 0.1748 0.0312)
OKLCHoklch(63.32% 0.178 10.1)
XYZxyz(36.3574, 22.7697, 18.1000)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5171 #51DFBF
analogous
#DF51B8 #DF5171 #DF7851
triadic
#DF5171 #71DF51 #5171DF
tetradic
#DF5171 #B8DF51 #51DFBF #7851DF
square
#DF5171 #B8DF51 #51DFBF #7851DF
split-complementary
#DF5171 #51DF78 #51B8DF
monochromatic
#991C38 #CD264B #DF5171 #E9859B #F2B8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF5171#FFFFFF#000000##000000
##DF51711.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)
#717172
Deuteranopia (green-blind)
#968E6E
Tritanopia (blue-blind)
#F23B5D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df5171;
/* rgb */ color: rgb(223, 81, 113);
/* oklch */ color: oklch(63.3% 0.178 10.1);
Tailwind
colors: {
  custom: {
    50: '#ef8999',
    500: '#df5171',
    950: '#000000',
  },
}
SCSS
$custom: #df5171;
$custom-light: #ef8999;
$custom-dark: #000000;
JSON
{
  "hex": "#df5171",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 346.479,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.1776,
    "h": 10.1
  },
  "luminance": 0.22765
}

Semantic roles & 50–950 ramp

primary
#DF5171
secondary
#AAE1D5
accent
#ECC43C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DF5171

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

Preview Lab → · Contrast checker → · Palette generator →

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