#DA5171#DA5171

#DA5171 is a light, vivid red. Relative luminance 0.220; OKLCH L 62.6% C 0.172 H 9.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#DA5171
RGBrgb(218, 81, 113)
HSLhsl(346, 65%, 59%)
HSVhsv(346, 63%, 85%)
CMYKcmyk(0%, 62.8%, 48.2%, 14.5%)
CIE-LABlab(54.01, 56.05, 10.89)
CIE-LCHlch(54.01, 57.10, 10.99°)
OKLaboklab(62.56% 0.1702 0.0281)
OKLCHoklch(62.56% 0.173 9.4)
XYZxyz(34.8392, 21.9868, 18.0288)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA5171 #51DABA
analogous
#DA51B6 #DA5171 #DA7551
triadic
#DA5171 #71DA51 #5171DA
tetradic
#DA5171 #B6DA51 #51DABA #7551DA
square
#DA5171 #B6DA51 #51DABA #7551DA
split-complementary
#DA5171 #51DA75 #51B6DA
monochromatic
#921F3A #C42A4E #DA5171 #E5839A #EFB6C3

Accessibility & contrast

On white

3.89
#DA5171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#DA5171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA5171
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA5171#FFFFFF#000000##000000
##DA51711.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7072
Deuteranopia (green-blind)
#938B6E
Tritanopia (blue-blind)
#ED3D5D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #da5171;
/* rgb */ color: rgb(218, 81, 113);
/* oklch */ color: oklch(62.6% 0.172 9.4);
Tailwind
colors: {
  custom: {
    50: '#eb8999',
    500: '#da5171',
    950: '#000000',
  },
}
SCSS
$custom: #da5171;
$custom-light: #eb8999;
$custom-dark: #000000;
JSON
{
  "hex": "#da5171",
  "rgb": {
    "r": 218,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 345.985,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.1725,
    "h": 9.4
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#DA5171
secondary
#A8DED2
accent
#E8C140
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DA5171

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

Preview Lab → · Contrast checker → · Palette generator →

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