#7D2223#7D2223

#7D2223 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.125 H 24.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2223
RGBrgb(125, 34, 35)
HSLhsl(359, 57%, 31%)
HSVhsv(359, 73%, 49%)
CMYKcmyk(0%, 72.8%, 72%, 51%)
CIE-LABlab(28.45, 39.08, 22.29)
CIE-LCHlch(28.45, 44.99, 29.70°)
OKLaboklab(39.83% 0.1142 0.0516)
OKLCHoklch(39.83% 0.125 24.3)
XYZxyz(9.3339, 5.6268, 2.1844)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2223 #227D7C
analogous
#7D2250 #7D2223 #7D4E22
triadic
#7D2223 #237D22 #22237D
tetradic
#7D2223 #507D22 #227D7C #4E227D
square
#7D2223 #507D22 #227D7C #4E227D
split-complementary
#7D2223 #227D4E #22507D
monochromatic
#1D0808 #4D1516 #7D2223 #AD2F30 #CE4B4D

Accessibility & contrast

On white

9.88
#7D2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D2223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2223
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2223#FFFFFF#000000##FFFFFF
##7D22231.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#8A0423
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d2223;
/* rgb */ color: rgb(125, 34, 35);
/* oklch */ color: oklch(39.8% 0.125 24.3);
Tailwind
colors: {
  custom: {
    50: '#a9645e',
    500: '#7d2223',
    950: '#000000',
  },
}
SCSS
$custom: #7d2223;
$custom-light: #a9645e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2223",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.341,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.12527,
    "h": 24.3
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#7D2223
secondary
#4BB0AF
accent
#E0DF47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D2223

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

Preview Lab → · Contrast checker → · Palette generator →

#7D2223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva