#D25040#D25040

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

Color values

HEX#D25040
RGBrgb(210, 80, 64)
HSLhsl(7, 62%, 54%)
HSVhsv(7, 70%, 82%)
CMYKcmyk(0%, 61.9%, 69.5%, 17.6%)
CIE-LABlab(51.63, 50.36, 36.19)
CIE-LCHlch(51.63, 62.01, 35.71°)
OKLaboklab(60.22% 0.1453 0.0832)
OKLCHoklch(60.22% 0.167 29.8)
XYZxyz(30.3755, 19.8133, 7.0743)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25040 #40C2D2
analogous
#D24079 #D25040 #D29940
triadic
#D25040 #40D250 #5040D2
tetradic
#D25040 #79D240 #40C2D2 #9940D2
square
#D25040 #79D240 #40C2D2 #9940D2
split-complementary
#D25040 #40D299 #4079D2
monochromatic
#7B271D #AC3729 #D25040 #DE7D72 #E9ABA3

Accessibility & contrast

On white

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

On black

4.96
#D25040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25040
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25040#FFFFFF#000000##000000
##D250401.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73693E
Deuteranopia (green-blind)
#94863C
Tritanopia (blue-blind)
#E6324D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d25040;
/* rgb */ color: rgb(210, 80, 64);
/* oklch */ color: oklch(60.2% 0.167 29.8);
Tailwind
colors: {
  custom: {
    50: '#e78675',
    500: '#d25040',
    950: '#000000',
  },
}
SCSS
$custom: #d25040;
$custom-light: #e78675;
$custom-dark: #000000;
JSON
{
  "hex": "#d25040",
  "rgb": {
    "r": 210,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.575,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.16746,
    "h": 29.8
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#D25040
secondary
#98CFD6
accent
#D3E543
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D25040

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

Preview Lab → · Contrast checker → · Palette generator →

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