#D45731#D45731

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

Color values

HEX#D45731
RGBrgb(212, 87, 49)
HSLhsl(14, 65%, 51%)
HSVhsv(14, 77%, 83%)
CMYKcmyk(0%, 59%, 76.9%, 16.9%)
CIE-LABlab(52.99, 47.22, 45.80)
CIE-LCHlch(52.99, 65.79, 44.12°)
OKLaboklab(61.26% 0.1326 0.1007)
OKLCHoklch(61.26% 0.166 37.2)
XYZxyz(31.1172, 21.0395, 5.3276)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45731 #31AED4
analogous
#D4315C #D45731 #D4A831
triadic
#D45731 #31D457 #5731D4
tetradic
#D45731 #5CD431 #31AED4 #A831D4
square
#D45731 #5CD431 #31AED4 #A831D4
split-complementary
#D45731 #31D4A8 #315CD4
monochromatic
#732D18 #A54123 #D45731 #DF8064 #E9AA96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45731#FFFFFF#000000##000000
##D457311.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)
#7A6D2C
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#E93A4F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d45731;
/* rgb */ color: rgb(212, 87, 49);
/* oklch */ color: oklch(61.3% 0.166 37.2);
Tailwind
colors: {
  custom: {
    50: '#e98a6b',
    500: '#d45731',
    950: '#000000',
  },
}
SCSS
$custom: #d45731;
$custom-light: #e98a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#d45731",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 49
  },
  "hsl": {
    "h": 13.988,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.16646,
    "h": 37.2
  },
  "luminance": 0.21035
}

Semantic roles & 50–950 ramp

primary
#D45731
secondary
#8CC4D4
accent
#C1E83F
background
#FFF8F6
surface
#FFF0EB
border
#D7CBC6
text
#180C07
muted
#867D7A

Preview Lab

Preview with #D45731

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

Preview Lab → · Contrast checker → · Palette generator →

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