#D23D42#D23D42

#D23D42 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.1% C 0.186 H 23.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D23D42
RGBrgb(210, 61, 66)
HSLhsl(358, 62%, 53%)
HSVhsv(358, 71%, 82%)
CMYKcmyk(0%, 71%, 68.6%, 17.6%)
CIE-LABlab(48.81, 58.17, 31.69)
CIE-LCHlch(48.81, 66.25, 28.58°)
OKLaboklab(58.12% 0.1704 0.0736)
OKLCHoklch(58.12% 0.186 23.4)
XYZxyz(29.2336, 17.4368, 6.9795)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23D42 #3DD2CD
analogous
#D23D8C #D23D42 #D2833D
triadic
#D23D42 #42D23D #3D42D2
tetradic
#D23D42 #8CD23D #3DD2CD #833DD2
square
#D23D42 #8CD23D #3DD2CD #833DD2
split-complementary
#D23D42 #3DD283 #3D8CD2
monochromatic
#791C1F #AA282C #D23D42 #DE6F72 #E9A0A3

Accessibility & contrast

On white

4.68
#D23D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D23D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D23D42
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23D42#FFFFFF#000000##FFFFFF
##D23D421.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676041
Deuteranopia (green-blind)
#8D803D
Tritanopia (blue-blind)
#E70340
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d23d42;
/* rgb */ color: rgb(210, 61, 66);
/* oklch */ color: oklch(58.1% 0.186 23.4);
Tailwind
colors: {
  custom: {
    50: '#e87c76',
    500: '#d23d42',
    950: '#000000',
  },
}
SCSS
$custom: #d23d42;
$custom-light: #e87c76;
$custom-dark: #000000;
JSON
{
  "hex": "#d23d42",
  "rgb": {
    "r": 210,
    "g": 61,
    "b": 66
  },
  "hsl": {
    "h": 357.987,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.18558,
    "h": 23.4
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#D23D42
secondary
#95D6D3
accent
#E5E042
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180A08
muted
#867C7B

Preview Lab

Preview with #D23D42

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

Preview Lab → · Contrast checker → · Palette generator →

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