#D1402F#D1402F

#D1402F is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.185 H 30.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D1402F
RGBrgb(209, 64, 47)
HSLhsl(6, 64%, 50%)
HSVhsv(6, 78%, 82%)
CMYKcmyk(0%, 69.4%, 77.5%, 18%)
CIE-LABlab(48.80, 55.92, 42.34)
CIE-LCHlch(48.80, 70.14, 37.14°)
OKLaboklab(58% 0.1595 0.0928)
OKLCHoklch(58% 0.185 30.2)
XYZxyz(28.6443, 17.4317, 4.5452)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1402F #2FC0D1
analogous
#D12F6F #D1402F #D1912F
triadic
#D1402F #2FD140 #402FD1
tetradic
#D1402F #6FD12F #2FC0D1 #912FD1
square
#D1402F #6FD12F #2FC0D1 #912FD1
split-complementary
#D1402F #2FD191 #2F6FD1
monochromatic
#6D2118 #A03023 #D1402F #DC6E61 #E79C93

Accessibility & contrast

On white

4.68
#D1402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D1402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1402F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1402F#FFFFFF#000000##FFFFFF
##D1402F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602C
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#E6063D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d1402f;
/* rgb */ color: rgb(209, 64, 47);
/* oklch */ color: oklch(58.0% 0.185 30.2);
Tailwind
colors: {
  custom: {
    50: '#e87d69',
    500: '#d1402f',
    950: '#000000',
  },
}
SCSS
$custom: #d1402f;
$custom-light: #e87d69;
$custom-dark: #000000;
JSON
{
  "hex": "#d1402f",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 6.296,
    "s": 63.78,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.18452,
    "h": 30.2
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#D1402F
secondary
#8ACBD2
accent
#D5E741
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D1402F

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

Preview Lab → · Contrast checker → · Palette generator →

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