#D55171#D55171

#D55171 is a mid, vivid red. Relative luminance 0.212; OKLCH L 61.8% C 0.167 H 8.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D55171
RGBrgb(213, 81, 113)
HSLhsl(345, 61%, 58%)
HSVhsv(345, 62%, 84%)
CMYKcmyk(0%, 62%, 46.9%, 16.5%)
CIE-LABlab(53.20, 54.45, 9.62)
CIE-LCHlch(53.20, 55.30, 10.02°)
OKLaboklab(61.79% 0.1655 0.025)
OKLCHoklch(61.79% 0.167 8.6)
XYZxyz(33.3662, 21.2273, 17.9598)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D55171 #51D5B5
analogous
#D551B3 #D55171 #D57351
triadic
#D55171 #71D551 #5171D5
tetradic
#D55171 #B3D551 #51D5B5 #7351D5
square
#D55171 #B3D551 #51D5B5 #7351D5
split-complementary
#D55171 #51D573 #51B3D5
monochromatic
#8A213B #BC2D50 #D55171 #E18299 #EDB4C1

Accessibility & contrast

On white

4.00
#D55171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D55171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D55171
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D55171#FFFFFF#000000##000000
##D551711.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#90896E
Tritanopia (blue-blind)
#E73E5D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d55171;
/* rgb */ color: rgb(213, 81, 113);
/* oklch */ color: oklch(61.8% 0.167 8.6);
Tailwind
colors: {
  custom: {
    50: '#e78899',
    500: '#d55171',
    950: '#000000',
  },
}
SCSS
$custom: #d55171;
$custom-light: #e78899;
$custom-dark: #000000;
JSON
{
  "hex": "#d55171",
  "rgb": {
    "r": 213,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 345.455,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.16736,
    "h": 8.6
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#D55171
secondary
#A6DBCF
accent
#E4BD44
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D55171

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

Preview Lab → · Contrast checker → · Palette generator →

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