#D42338#D42338

#D42338 is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.3% C 0.208 H 22.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D42338
RGBrgb(212, 35, 56)
HSLhsl(353, 72%, 48%)
HSVhsv(353, 83%, 83%)
CMYKcmyk(0%, 83.5%, 73.6%, 16.9%)
CIE-LABlab(46.30, 66.02, 34.70)
CIE-LCHlch(46.30, 74.58, 27.73°)
OKLaboklab(56.28% 0.1929 0.0783)
OKLCHoklch(56.28% 0.208 22.1)
XYZxyz(28.4696, 15.4893, 5.2313)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42338 #23D4BF
analogous
#D42390 #D42338 #D46623
triadic
#D42338 #38D423 #2338D4
tetradic
#D42338 #90D423 #23D4BF #6623D4
square
#D42338 #90D423 #23D4BF #6623D4
split-complementary
#D42338 #23D466 #2390D4
monochromatic
#6B121C #9F1A2A #D42338 #E25263 #EB8692

Accessibility & contrast

On white

5.13
#D42338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#D42338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42338
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42338#FFFFFF#000000##FFFFFF
##D423381.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5637
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#E9002D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42338;
/* rgb */ color: rgb(212, 35, 56);
/* oklch */ color: oklch(56.3% 0.208 22.1);
Tailwind
colors: {
  custom: {
    50: '#eb726e',
    500: '#d42338',
    950: '#000000',
  },
}
SCSS
$custom: #d42338;
$custom-light: #eb726e;
$custom-dark: #000000;
JSON
{
  "hex": "#d42338",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 352.881,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.20819,
    "h": 22.1
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#D42338
secondary
#7ED4CA
accent
#EED939
background
#FFF7F6
surface
#FFEDEC
border
#D7C8C7
text
#180907
muted
#867B7A

Preview Lab

Preview with #D42338

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

Preview Lab → · Contrast checker → · Palette generator →

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