#D25742#D25742

#D25742 is a mid, vivid red. Relative luminance 0.209; OKLCH L 61.2% C 0.160 H 31.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D25742
RGBrgb(210, 87, 66)
HSLhsl(9, 62%, 54%)
HSVhsv(9, 69%, 82%)
CMYKcmyk(0%, 58.6%, 68.6%, 17.6%)
CIE-LABlab(52.86, 47.28, 36.52)
CIE-LCHlch(52.86, 59.74, 37.68°)
OKLaboklab(61.16% 0.1361 0.0842)
OKLCHoklch(61.16% 0.16 31.8)
XYZxyz(30.9730, 20.9155, 7.5593)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25742 #42BDD2
analogous
#D24275 #D25742 #D29F42
triadic
#D25742 #42D257 #5742D2
tetradic
#D25742 #75D242 #42BDD2 #9F42D2
square
#D25742 #75D242 #42BDD2 #9F42D2
split-complementary
#D25742 #42D29F #4275D2
monochromatic
#7C2B1E #AD3D29 #D25742 #DE8373 #EAAFA5

Accessibility & contrast

On white

4.05
#D25742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D25742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25742
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25742#FFFFFF#000000##000000
##D257421.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#786D3F
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#E63D53
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d25742;
/* rgb */ color: rgb(210, 87, 66);
/* oklch */ color: oklch(61.2% 0.160 31.8);
Tailwind
colors: {
  custom: {
    50: '#e78b77',
    500: '#d25742',
    950: '#000000',
  },
}
SCSS
$custom: #d25742;
$custom-light: #e78b77;
$custom-dark: #000000;
JSON
{
  "hex": "#d25742",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 8.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.16006,
    "h": 31.8
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#D25742
secondary
#99CED7
accent
#CDE543
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D25742

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

Preview Lab → · Contrast checker → · Palette generator →

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