#D0302F#D0302F

#D0302F is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 26.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D0302F
RGBrgb(208, 48, 47)
HSLhsl(0, 63%, 50%)
HSVhsv(0, 77%, 82%)
CMYKcmyk(0%, 76.9%, 77.4%, 18.4%)
CIE-LABlab(46.62, 61.12, 40.00)
CIE-LCHlch(46.62, 73.05, 33.21°)
OKLaboklab(56.35% 0.1759 0.0878)
OKLCHoklch(56.35% 0.197 26.5)
XYZxyz(27.5858, 15.7334, 4.2731)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0302F #2FCFD0
analogous
#D02F7E #D0302F #D0812F
triadic
#D0302F #2FD030 #302FD0
tetradic
#D0302F #7ED02F #2FCFD0 #812FD0
square
#D0302F #7ED02F #2FCFD0 #812FD0
split-complementary
#D0302F #2FD081 #2F7ED0
monochromatic
#6C1918 #9E2424 #D0302F #DB6261 #E79393

Accessibility & contrast

On white

5.07
#D0302F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#D0302F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0302F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0302F#FFFFFF#000000##FFFFFF
##D0302F1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582D
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#E50032
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d0302f;
/* rgb */ color: rgb(208, 48, 47);
/* oklch */ color: oklch(56.3% 0.197 26.5);
Tailwind
colors: {
  custom: {
    50: '#e87668',
    500: '#d0302f',
    950: '#000000',
  },
}
SCSS
$custom: #d0302f;
$custom-light: #e87668;
$custom-dark: #000000;
JSON
{
  "hex": "#d0302f",
  "rgb": {
    "r": 208,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.373,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.19661,
    "h": 26.5
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#D0302F
secondary
#89D1D1
accent
#E5E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #D0302F

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

Preview Lab → · Contrast checker → · Palette generator →

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