#D4281F#D4281F

#D4281F is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.3% C 0.208 H 28.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D4281F
RGBrgb(212, 40, 31)
HSLhsl(3, 74%, 48%)
HSVhsv(3, 85%, 83%)
CMYKcmyk(0%, 81.1%, 85.4%, 16.9%)
CIE-LABlab(46.47, 64.06, 48.48)
CIE-LCHlch(46.47, 80.34, 37.11°)
OKLaboklab(56.33% 0.1817 0.1003)
OKLCHoklch(56.33% 0.208 28.9)
XYZxyz(28.1611, 15.6182, 2.8279)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4281F #1FCBD4
analogous
#D41F71 #D4281F #D4821F
triadic
#D4281F #1FD428 #281FD4
tetradic
#D4281F #71D41F #1FCBD4 #821FD4
square
#D4281F #71D41F #1FCBD4 #821FD4
split-complementary
#D4281F #1FD482 #1F71D4
monochromatic
#69140F #9F1E17 #D4281F #E5534B #ED8681

Accessibility & contrast

On white

5.09
#D4281F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#D4281F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4281F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4281F#FFFFFF#000000##FFFFFF
##D4281F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561B
Deuteranopia (green-blind)
#8B7B13
Tritanopia (blue-blind)
#EA0029
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d4281f;
/* rgb */ color: rgb(212, 40, 31);
/* oklch */ color: oklch(56.3% 0.208 28.9);
Tailwind
colors: {
  custom: {
    50: '#ec735e',
    500: '#d4281f',
    950: '#000000',
  },
}
SCSS
$custom: #d4281f;
$custom-light: #ec735e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4281f",
  "rgb": {
    "r": 212,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 2.983,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.20755,
    "h": 28.9
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#D4281F
secondary
#7AD1D5
accent
#E8F137
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#190904
muted
#867B79

Preview Lab

Preview with #D4281F

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

Preview Lab → · Contrast checker → · Palette generator →

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