#D42340#D42340

#D42340 is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.4% C 0.208 H 19.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D42340
RGBrgb(212, 35, 64)
HSLhsl(350, 72%, 48%)
HSVhsv(350, 83%, 83%)
CMYKcmyk(0%, 83.5%, 69.8%, 16.9%)
CIE-LABlab(46.41, 66.36, 30.06)
CIE-LCHlch(46.41, 72.85, 24.37°)
OKLaboklab(56.4% 0.1958 0.0696)
OKLCHoklch(56.4% 0.208 19.6)
XYZxyz(28.6812, 15.5739, 6.3454)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42340 #23D4B7
analogous
#D42399 #D42340 #D45E23
triadic
#D42340 #40D423 #2340D4
tetradic
#D42340 #99D423 #23D4B7 #5E23D4
square
#D42340 #99D423 #23D4B7 #5E23D4
split-complementary
#D42340 #23D45E #2399D4
monochromatic
#6B1220 #9F1A30 #D42340 #E25269 #EB8697

Accessibility & contrast

On white

5.10
#D42340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D42340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42340
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42340#FFFFFF#000000##FFFFFF
##D423401.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5640
Deuteranopia (green-blind)
#887B3A
Tritanopia (blue-blind)
#E90031
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42340;
/* rgb */ color: rgb(212, 35, 64);
/* oklch */ color: oklch(56.4% 0.208 19.6);
Tailwind
colors: {
  custom: {
    50: '#ea7274',
    500: '#d42340',
    950: '#000000',
  },
}
SCSS
$custom: #d42340;
$custom-light: #ea7274;
$custom-dark: #000000;
JSON
{
  "hex": "#d42340",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 350.169,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.20779,
    "h": 19.6
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#D42340
secondary
#7ED4C6
accent
#EED139
background
#FFF7F7
surface
#FFEDED
border
#D7C8C8
text
#180908
muted
#867B7B

Preview Lab

Preview with #D42340

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

Preview Lab → · Contrast checker → · Palette generator →

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