#D45252#D45252

#D45252 is a mid, vivid red. Relative luminance 0.206; OKLCH L 61.1% C 0.165 H 23.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D45252
RGBrgb(212, 82, 82)
HSLhsl(0, 60%, 58%)
HSVhsv(0, 61%, 83%)
CMYKcmyk(0%, 61.3%, 61.3%, 16.9%)
CIE-LABlab(52.56, 51.21, 27.09)
CIE-LCHlch(52.56, 57.93, 27.87°)
OKLaboklab(61.07% 0.1512 0.0651)
OKLCHoklch(61.07% 0.165 23.3)
XYZxyz(31.6946, 20.6450, 10.2969)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45252 #52D4D4
analogous
#D45293 #D45252 #D49352
triadic
#D45252 #52D452 #5252D4
tetradic
#D45252 #93D452 #52D4D4 #9352D4
square
#D45252 #93D452 #52D4D4 #9352D4
split-complementary
#D45252 #52D493 #5293D4
monochromatic
#892222 #BA2E2E #D45252 #E08383 #ECB4B4

Accessibility & contrast

On white

4.10
#D45252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D45252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45252
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45252#FFFFFF#000000##000000
##D452521.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#736C51
Deuteranopia (green-blind)
#94884F
Tritanopia (blue-blind)
#E83853
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d45252;
/* rgb */ color: rgb(212, 82, 82);
/* oklch */ color: oklch(61.1% 0.165 23.3);
Tailwind
colors: {
  custom: {
    50: '#e88882',
    500: '#d45252',
    950: '#000000',
  },
}
SCSS
$custom: #d45252;
$custom-light: #e88882;
$custom-dark: #000000;
JSON
{
  "hex": "#d45252",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.16462,
    "h": 23.3
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#D45252
secondary
#A7DBDB
accent
#E3E344
background
#FFF8F7
surface
#FEF0EE
border
#D6CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #D45252

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

Preview Lab → · Contrast checker → · Palette generator →

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