#D23540#D23540

#D23540 is a mid, vivid red. Relative luminance 0.166; OKLCH L 57.3% C 0.193 H 22.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D23540
RGBrgb(210, 53, 64)
HSLhsl(356, 64%, 52%)
HSVhsv(356, 75%, 82%)
CMYKcmyk(0%, 74.8%, 69.5%, 17.6%)
CIE-LABlab(47.78, 60.84, 31.63)
CIE-LCHlch(47.78, 68.57, 27.47°)
OKLaboklab(57.34% 0.1784 0.0732)
OKLCHoklch(57.34% 0.193 22.3)
XYZxyz(28.7801, 16.6224, 6.5425)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23540 #35D2C7
analogous
#D2358F #D23540 #D27935
triadic
#D23540 #40D235 #3540D2
tetradic
#D23540 #8FD235 #35D2C7 #7935D2
square
#D23540 #8FD235 #35D2C7 #7935D2
split-complementary
#D23540 #35D279 #358FD2
monochromatic
#731A20 #A5252E #D23540 #DD676F #E8999F

Accessibility & contrast

On white

4.86
#D23540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D23540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D23540
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23540#FFFFFF#000000##FFFFFF
##D235401.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3F
Deuteranopia (green-blind)
#8A7E3B
Tritanopia (blue-blind)
#E7003B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d23540;
/* rgb */ color: rgb(210, 53, 64);
/* oklch */ color: oklch(57.3% 0.193 22.3);
Tailwind
colors: {
  custom: {
    50: '#e87975',
    500: '#d23540',
    950: '#000000',
  },
}
SCSS
$custom: #d23540;
$custom-light: #e87975;
$custom-dark: #000000;
JSON
{
  "hex": "#d23540",
  "rgb": {
    "r": 210,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 355.796,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.19282,
    "h": 22.3
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#D23540
secondary
#8FD4CF
accent
#E7DB41
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#180A08
muted
#867C7B

Preview Lab

Preview with #D23540

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

Preview Lab → · Contrast checker → · Palette generator →

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