#D4545F#D4545F

#D4545F is a mid, vivid red. Relative luminance 0.212; OKLCH L 61.6% C 0.161 H 18.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D4545F
RGBrgb(212, 84, 95)
HSLhsl(355, 60%, 58%)
HSVhsv(355, 60%, 83%)
CMYKcmyk(0%, 60.4%, 55.2%, 16.9%)
CIE-LABlab(53.13, 51.26, 20.20)
CIE-LCHlch(53.13, 55.09, 21.51°)
OKLaboklab(61.58% 0.1534 0.0501)
OKLCHoklch(61.58% 0.161 18.1)
XYZxyz(32.3900, 21.1680, 13.2044)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4545F #54D4C9
analogous
#D4549F #D4545F #D48954
triadic
#D4545F #5FD454 #545FD4
tetradic
#D4545F #9FD454 #54D4C9 #8954D4
square
#D4545F #9FD454 #54D4C9 #8954D4
split-complementary
#D4545F #54D489 #549FD4
monochromatic
#8B232C #BC2F3B #D4545F #E0858D #EDB6BB

Accessibility & contrast

On white

4.01
#D4545F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D4545F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4545F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4545F#FFFFFF#000000##000000
##D4545F1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#736E5F
Deuteranopia (green-blind)
#93895C
Tritanopia (blue-blind)
#E73E59
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d4545f;
/* rgb */ color: rgb(212, 84, 95);
/* oklch */ color: oklch(61.6% 0.161 18.1);
Tailwind
colors: {
  custom: {
    50: '#e7898c',
    500: '#d4545f',
    950: '#000000',
  },
}
SCSS
$custom: #d4545f;
$custom-light: #e7898c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4545f",
  "rgb": {
    "r": 212,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 354.844,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.16138,
    "h": 18.1
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#D4545F
secondary
#A8DBD7
accent
#E3D545
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #D4545F

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

Preview Lab → · Contrast checker → · Palette generator →

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