#7D231D#7D231D

#7D231D is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.125 H 28.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7D231D
RGBrgb(125, 35, 29)
HSLhsl(4, 62%, 30%)
HSVhsv(4, 77%, 49%)
CMYKcmyk(0%, 72%, 76.8%, 51%)
CIE-LABlab(28.52, 38.36, 26.14)
CIE-LCHlch(28.52, 46.42, 34.27°)
OKLaboklab(39.85% 0.1105 0.0588)
OKLCHoklch(39.85% 0.125 28)
XYZxyz(9.2813, 5.6521, 1.7644)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231D #1D777D
analogous
#7D1D47 #7D231D #7D531D
triadic
#7D231D #1D7D23 #231D7D
tetradic
#7D231D #477D1D #1D777D #531D7D
square
#7D231D #477D1D #1D777D #531D7D
split-complementary
#7D231D #1D7D53 #1D477D
monochromatic
#1A0706 #4B1511 #7D231D #AF3129 #D34A41

Accessibility & contrast

On white

9.86
#7D231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D231D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D231D#FFFFFF#000000##FFFFFF
##7D231D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#8A0522
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231d;
/* rgb */ color: rgb(125, 35, 29);
/* oklch */ color: oklch(39.9% 0.125 28.0);
Tailwind
colors: {
  custom: {
    50: '#aa6459',
    500: '#7d231d',
    950: '#000000',
  },
}
SCSS
$custom: #7d231d;
$custom-light: #aa6459;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231d",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 3.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.12517,
    "h": 28
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#7D231D
secondary
#45AAB1
accent
#DBE542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D231D

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

Preview Lab → · Contrast checker → · Palette generator →

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