#D45F52#D45F52

#D45F52 is a light, vivid red. Relative luminance 0.228; OKLCH L 62.8% C 0.150 H 28.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D45F52
RGBrgb(212, 95, 82)
HSLhsl(6, 60%, 58%)
HSVhsv(6, 61%, 83%)
CMYKcmyk(0%, 55.2%, 61.3%, 16.9%)
CIE-LABlab(54.86, 45.17, 30.01)
CIE-LCHlch(54.86, 54.23, 33.60°)
OKLaboklab(62.81% 0.1322 0.0718)
OKLCHoklch(62.81% 0.15 28.5)
XYZxyz(32.7695, 22.7947, 10.6552)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F52 #52C7D4
analogous
#D45286 #D45F52 #D4A052
triadic
#D45F52 #52D45F #5F52D4
tetradic
#D45F52 #86D452 #52C7D4 #A052D4
square
#D45F52 #86D452 #52C7D4 #A052D4
split-complementary
#D45F52 #52D4A0 #5286D4
monochromatic
#892C22 #BA3C2E #D45F52 #E08C83 #ECBAB4

Accessibility & contrast

On white

3.78
#D45F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D45F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F52
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F52#FFFFFF#000000##000000
##D45F521.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7450
Deuteranopia (green-blind)
#9A8D4F
Tritanopia (blue-blind)
#E7495C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d45f52;
/* rgb */ color: rgb(212, 95, 82);
/* oklch */ color: oklch(62.8% 0.150 28.5);
Tailwind
colors: {
  custom: {
    50: '#e79083',
    500: '#d45f52',
    950: '#000000',
  },
}
SCSS
$custom: #d45f52;
$custom-light: #e79083;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f52",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 82
  },
  "hsl": {
    "h": 6,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62808,
    "c": 0.15044,
    "h": 28.5
  },
  "luminance": 0.22791
}

Semantic roles & 50–950 ramp

primary
#D45F52
secondary
#A7D6DB
accent
#D3E344
background
#FFF9F8
surface
#FEF1EF
border
#D6CBCA
text
#170D0A
muted
#857E7C

Preview Lab

Preview with #D45F52

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

Preview Lab → · Contrast checker → · Palette generator →

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