#D23338#D23338

#D23338 is a mid, vivid red. Relative luminance 0.164; OKLCH L 57.1% C 0.195 H 24.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D23338
RGBrgb(210, 51, 56)
HSLhsl(358, 64%, 51%)
HSVhsv(358, 76%, 82%)
CMYKcmyk(0%, 75.7%, 73.3%, 17.6%)
CIE-LABlab(47.44, 61.12, 35.91)
CIE-LCHlch(47.44, 70.89, 30.43°)
OKLaboklab(57.06% 0.1776 0.081)
OKLCHoklch(57.06% 0.195 24.5)
XYZxyz(28.4793, 16.3593, 5.3987)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23338 #33D2CD
analogous
#D23387 #D23338 #D27D33
triadic
#D23338 #38D233 #3338D2
tetradic
#D23338 #87D233 #33D2CD #7D33D2
square
#D23338 #87D233 #33D2CD #7D33D2
split-complementary
#D23338 #33D27D #3387D2
monochromatic
#72191C #A42428 #D23338 #DD6569 #E8979A

Accessibility & contrast

On white

4.92
#D23338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#D23338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D23338
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23338#FFFFFF#000000##FFFFFF
##D233381.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#E70037
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d23338;
/* rgb */ color: rgb(210, 51, 56);
/* oklch */ color: oklch(57.1% 0.195 24.5);
Tailwind
colors: {
  custom: {
    50: '#e9786f',
    500: '#d23338',
    950: '#000000',
  },
}
SCSS
$custom: #d23338;
$custom-light: #e9786f;
$custom-dark: #000000;
JSON
{
  "hex": "#d23338",
  "rgb": {
    "r": 210,
    "g": 51,
    "b": 56
  },
  "hsl": {
    "h": 358.113,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.1952,
    "h": 24.5
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#D23338
secondary
#8DD4D1
accent
#E7E241
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #D23338

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

Preview Lab → · Contrast checker → · Palette generator →

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