#D25042#D25042

#D25042 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.2% C 0.167 H 29.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D25042
RGBrgb(210, 80, 66)
HSLhsl(6, 62%, 54%)
HSVhsv(6, 69%, 82%)
CMYKcmyk(0%, 61.9%, 68.6%, 17.6%)
CIE-LABlab(51.65, 50.46, 35.10)
CIE-LCHlch(51.65, 61.47, 34.82°)
OKLaboklab(60.25% 0.146 0.0811)
OKLCHoklch(60.25% 0.167 29.1)
XYZxyz(30.4335, 19.8365, 7.3795)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25042 #42C4D2
analogous
#D2427C #D25042 #D29842
triadic
#D25042 #42D250 #5042D2
tetradic
#D25042 #7CD242 #42C4D2 #9842D2
square
#D25042 #7CD242 #42C4D2 #9842D2
split-complementary
#D25042 #42D298 #427CD2
monochromatic
#7C271E #AD3629 #D25042 #DE7E73 #EAACA5

Accessibility & contrast

On white

4.23
#D25042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D25042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25042
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25042#FFFFFF#000000##000000
##D250421.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#93863E
Tritanopia (blue-blind)
#E6324D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d25042;
/* rgb */ color: rgb(210, 80, 66);
/* oklch */ color: oklch(60.2% 0.167 29.1);
Tailwind
colors: {
  custom: {
    50: '#e78677',
    500: '#d25042',
    950: '#000000',
  },
}
SCSS
$custom: #d25042;
$custom-light: #e78677;
$custom-dark: #000000;
JSON
{
  "hex": "#d25042",
  "rgb": {
    "r": 210,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 5.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.16706,
    "h": 29.1
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#D25042
secondary
#99D1D7
accent
#D5E543
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D25042

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

Preview Lab → · Contrast checker → · Palette generator →

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