#D45871#D45871

#D45871 is a light, vivid red. Relative luminance 0.222; OKLCH L 62.5% C 0.157 H 10.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D45871
RGBrgb(212, 88, 113)
HSLhsl(348, 59%, 59%)
HSVhsv(348, 58%, 83%)
CMYKcmyk(0%, 58.5%, 46.7%, 16.9%)
CIE-LABlab(54.21, 51.00, 11.02)
CIE-LCHlch(54.21, 52.17, 12.20°)
OKLaboklab(62.52% 0.1546 0.0285)
OKLCHoklch(62.52% 0.157 10.4)
XYZxyz(33.6242, 22.1727, 18.1286)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45871 #58D4BB
analogous
#D458AF #D45871 #D47D58
triadic
#D45871 #71D458 #5871D4
tetradic
#D45871 #AFD458 #58D4BB #7D58D4
square
#D45871 #AFD458 #58D4BB #7D58D4
split-complementary
#D45871 #58D47D #58AFD4
monochromatic
#8D243A #BE314D #D45871 #E1899A #EDB9C4

Accessibility & contrast

On white

3.86
#D45871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D45871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45871
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45871#FFFFFF#000000##000000
##D458711.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#727271
Deuteranopia (green-blind)
#928B6E
Tritanopia (blue-blind)
#E64761
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d45871;
/* rgb */ color: rgb(212, 88, 113);
/* oklch */ color: oklch(62.5% 0.157 10.4);
Tailwind
colors: {
  custom: {
    50: '#e68c99',
    500: '#d45871',
    950: '#000000',
  },
}
SCSS
$custom: #d45871;
$custom-light: #e68c99;
$custom-dark: #000000;
JSON
{
  "hex": "#d45871",
  "rgb": {
    "r": 212,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 347.903,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62516,
    "c": 0.15723,
    "h": 10.4
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#D45871
secondary
#ABDCD2
accent
#E2C346
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D45871

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

Preview Lab → · Contrast checker → · Palette generator →

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