#DE5171#DE5171

#DE5171 is a light, vivid red. Relative luminance 0.226; OKLCH L 63.2% C 0.177 H 10.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#DE5171
RGBrgb(222, 81, 113)
HSLhsl(346, 68%, 59%)
HSVhsv(346, 64%, 87%)
CMYKcmyk(0%, 63.5%, 49.1%, 12.9%)
CIE-LABlab(54.67, 57.32, 11.90)
CIE-LCHlch(54.67, 58.54, 11.73°)
OKLaboklab(63.17% 0.1739 0.0306)
OKLCHoklch(63.17% 0.177 10)
XYZxyz(36.0502, 22.6112, 18.0856)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE5171 #51DEBE
analogous
#DE51B8 #DE5171 #DE7851
triadic
#DE5171 #71DE51 #5171DE
tetradic
#DE5171 #B8DE51 #51DEBE #7851DE
square
#DE5171 #B8DE51 #51DEBE #7851DE
split-complementary
#DE5171 #51DE78 #51B8DE
monochromatic
#981D39 #CB274C #DE5171 #E8849B #F2B8C5

Accessibility & contrast

On white

3.80
#DE5171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#DE5171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE5171
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE5171#FFFFFF#000000##000000
##DE51711.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#958D6E
Tritanopia (blue-blind)
#F13B5D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #de5171;
/* rgb */ color: rgb(222, 81, 113);
/* oklch */ color: oklch(63.2% 0.177 10.0);
Tailwind
colors: {
  custom: {
    50: '#ee8999',
    500: '#de5171',
    950: '#000000',
  },
}
SCSS
$custom: #de5171;
$custom-light: #ee8999;
$custom-dark: #000000;
JSON
{
  "hex": "#de5171",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 346.383,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6317,
    "c": 0.17658,
    "h": 10
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#DE5171
secondary
#AAE1D4
accent
#EBC33D
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DE5171

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

Preview Lab → · Contrast checker → · Palette generator →

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