#D45171#D45171

#D45171 is a mid, vivid red. Relative luminance 0.211; OKLCH L 61.6% C 0.166 H 8.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D45171
RGBrgb(212, 81, 113)
HSLhsl(345, 60%, 57%)
HSVhsv(345, 62%, 83%)
CMYKcmyk(0%, 61.8%, 46.7%, 16.9%)
CIE-LABlab(53.03, 54.13, 9.37)
CIE-LCHlch(53.03, 54.93, 9.82°)
OKLaboklab(61.64% 0.1645 0.0244)
OKLCHoklch(61.64% 0.166 8.4)
XYZxyz(33.0769, 21.0782, 17.9462)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45171 #51D4B4
analogous
#D451B2 #D45171 #D47351
triadic
#D45171 #71D451 #5171D4
tetradic
#D45171 #B2D451 #51D4B4 #7351D4
square
#D45171 #B2D451 #51D4B4 #7351D4
split-complementary
#D45171 #51D473 #51B2D4
monochromatic
#89223B #BA2E50 #D45171 #E08299 #ECB3C1

Accessibility & contrast

On white

4.03
#D45171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D45171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45171
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45171#FFFFFF#000000##000000
##D451711.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#8F886E
Tritanopia (blue-blind)
#E63F5D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d45171;
/* rgb */ color: rgb(212, 81, 113);
/* oklch */ color: oklch(61.6% 0.166 8.4);
Tailwind
colors: {
  custom: {
    50: '#e68899',
    500: '#d45171',
    950: '#000000',
  },
}
SCSS
$custom: #d45171;
$custom-light: #e68899;
$custom-dark: #000000;
JSON
{
  "hex": "#d45171",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 345.344,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.16633,
    "h": 8.4
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45171

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

Preview Lab → · Contrast checker → · Palette generator →

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