#D45751#D45751

#D45751 is a mid, vivid red. Relative luminance 0.214; OKLCH L 61.7% C 0.159 H 25.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D45751
RGBrgb(212, 87, 81)
HSLhsl(3, 60%, 57%)
HSVhsv(3, 62%, 83%)
CMYKcmyk(0%, 59%, 61.8%, 16.9%)
CIE-LABlab(53.40, 48.88, 28.73)
CIE-LCHlch(53.40, 56.70, 30.45°)
OKLaboklab(61.7% 0.1437 0.0688)
OKLCHoklch(61.7% 0.159 25.6)
XYZxyz(32.0477, 21.4117, 10.2282)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45751 #51CED4
analogous
#D4518D #D45751 #D49851
triadic
#D45751 #51D457 #5751D4
tetradic
#D45751 #8DD451 #51CED4 #9851D4
square
#D45751 #8DD451 #51CED4 #9851D4
split-complementary
#D45751 #51D498 #518DD4
monochromatic
#892722 #BA342E #D45751 #E08682 #ECB6B3

Accessibility & contrast

On white

3.98
#D45751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D45751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45751
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45751#FFFFFF#000000##000000
##D457511.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#968A4E
Tritanopia (blue-blind)
#E83F56
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d45751;
/* rgb */ color: rgb(212, 87, 81);
/* oklch */ color: oklch(61.7% 0.159 25.6);
Tailwind
colors: {
  custom: {
    50: '#e88b82',
    500: '#d45751',
    950: '#000000',
  },
}
SCSS
$custom: #d45751;
$custom-light: #e88b82;
$custom-dark: #000000;
JSON
{
  "hex": "#d45751",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 2.748,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.15929,
    "h": 25.6
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#D45751
secondary
#A6D8DB
accent
#DCE444
background
#FFF8F7
surface
#FEF0EE
border
#D6CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #D45751

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

Preview Lab → · Contrast checker → · Palette generator →

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