#7D231A#7D231A

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

Color values

HEX#7D231A
RGBrgb(125, 35, 26)
HSLhsl(5, 66%, 30%)
HSVhsv(5, 79%, 49%)
CMYKcmyk(0%, 72%, 79.2%, 51%)
CIE-LABlab(28.48, 38.23, 27.92)
CIE-LCHlch(28.48, 47.34, 36.14°)
OKLaboklab(39.81% 0.1094 0.0618)
OKLCHoklch(39.81% 0.126 29.5)
XYZxyz(9.2460, 5.6380, 1.5785)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231A #1A747D
analogous
#7D1A42 #7D231A #7D551A
triadic
#7D231A #1A7D23 #231A7D
tetradic
#7D231A #427D1A #1A747D #551A7D
square
#7D231A #427D1A #1A747D #551A7D
split-complementary
#7D231A #1A7D55 #1A427D
monochromatic
#190705 #4A150F #7D231A #B03125 #D6493B

Accessibility & contrast

On white

9.87
#7D231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D231A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D231A#FFFFFF#000000##FFFFFF
##7D231A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3718
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#8A0422
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231a;
/* rgb */ color: rgb(125, 35, 26);
/* oklch */ color: oklch(39.8% 0.126 29.5);
Tailwind
colors: {
  custom: {
    50: '#aa6457',
    500: '#7d231a',
    950: '#000000',
  },
}
SCSS
$custom: #7d231a;
$custom-light: #aa6457;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231a",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 5.455,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.12569,
    "h": 29.5
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#7D231A
secondary
#42A7B1
accent
#D9E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D231A

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

Preview Lab → · Contrast checker → · Palette generator →

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