#D54F3F#D54F3F

#D54F3F is a mid, vivid red. Relative luminance 0.201; OKLCH L 60.6% C 0.172 H 29.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D54F3F
RGBrgb(213, 79, 63)
HSLhsl(6, 64%, 54%)
HSVhsv(6, 70%, 84%)
CMYKcmyk(0%, 62.9%, 70.4%, 16.5%)
CIE-LABlab(51.95, 51.79, 37.26)
CIE-LCHlch(51.95, 63.80, 35.73°)
OKLaboklab(60.56% 0.1493 0.0852)
OKLCHoklch(60.56% 0.172 29.7)
XYZxyz(31.1370, 20.1013, 6.9420)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F3F #3FC5D5
analogous
#D53F7A #D54F3F #D59A3F
triadic
#D54F3F #3FD54F #4F3FD5
tetradic
#D54F3F #7AD53F #3FC5D5 #9A3FD5
square
#D54F3F #7AD53F #3FC5D5 #9A3FD5
split-complementary
#D54F3F #3FD59A #3F7AD5
monochromatic
#7E261C #B03527 #D54F3F #E07D71 #EBABA3

Accessibility & contrast

On white

4.18
#D54F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D54F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F3F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F3F#FFFFFF#000000##000000
##D54F3F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74693D
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#EA2F4C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54f3f;
/* rgb */ color: rgb(213, 79, 63);
/* oklch */ color: oklch(60.6% 0.172 29.7);
Tailwind
colors: {
  custom: {
    50: '#ea8675',
    500: '#d54f3f',
    950: '#000000',
  },
}
SCSS
$custom: #d54f3f;
$custom-light: #ea8675;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f3f",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 63
  },
  "hsl": {
    "h": 6.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.17188,
    "h": 29.7
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#D54F3F
secondary
#98D1D8
accent
#D5E741
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #D54F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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