#D23F42#D23F42

#D23F42 is a mid, vivid red. Relative luminance 0.176; OKLCH L 58.3% C 0.184 H 23.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D23F42
RGBrgb(210, 63, 66)
HSLhsl(359, 62%, 54%)
HSVhsv(359, 70%, 82%)
CMYKcmyk(0%, 70%, 68.6%, 17.6%)
CIE-LABlab(49.07, 57.43, 32.02)
CIE-LCHlch(49.07, 65.76, 29.14°)
OKLaboklab(58.32% 0.168 0.0743)
OKLCHoklch(58.32% 0.184 23.9)
XYZxyz(29.3424, 17.6543, 7.0158)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23F42 #3FD2CF
analogous
#D23F8B #D23F42 #D2863F
triadic
#D23F42 #42D23F #3F42D2
tetradic
#D23F42 #8BD23F #3FD2CF #863FD2
square
#D23F42 #8BD23F #3FD2CF #863FD2
split-complementary
#D23F42 #3FD286 #3F8BD2
monochromatic
#7A1D1F #AC282B #D23F42 #DE7173 #E9A2A4

Accessibility & contrast

On white

4.64
#D23F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#D23F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D23F42
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23F42#FFFFFF#000000##FFFFFF
##D23F421.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686141
Deuteranopia (green-blind)
#8D803D
Tritanopia (blue-blind)
#E70C42
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d23f42;
/* rgb */ color: rgb(210, 63, 66);
/* oklch */ color: oklch(58.3% 0.184 23.9);
Tailwind
colors: {
  custom: {
    50: '#e87d76',
    500: '#d23f42',
    950: '#000000',
  },
}
SCSS
$custom: #d23f42;
$custom-light: #e87d76;
$custom-dark: #000000;
JSON
{
  "hex": "#d23f42",
  "rgb": {
    "r": 210,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 358.776,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.18372,
    "h": 23.9
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#D23F42
secondary
#97D6D5
accent
#E5E243
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180A08
muted
#867C7B

Preview Lab

Preview with #D23F42

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

Preview Lab → · Contrast checker → · Palette generator →

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