#7D231B#7D231B

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

Color values

HEX#7D231B
RGBrgb(125, 35, 27)
HSLhsl(5, 64%, 30%)
HSVhsv(5, 78%, 49%)
CMYKcmyk(0%, 72%, 78.4%, 51%)
CIE-LABlab(28.49, 38.27, 27.33)
CIE-LCHlch(28.49, 47.03, 35.54°)
OKLaboklab(39.82% 0.1098 0.0608)
OKLCHoklch(39.82% 0.126 29)
XYZxyz(9.2574, 5.6426, 1.6384)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231B #1B757D
analogous
#7D1B44 #7D231B #7D541B
triadic
#7D231B #1B7D23 #231B7D
tetradic
#7D231B #447D1B #1B757D #541B7D
square
#7D231B #447D1B #1B757D #541B7D
split-complementary
#7D231B #1B7D54 #1B447D
monochromatic
#190705 #4B1510 #7D231B #AF3126 #D54A3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D231B#FFFFFF#000000##FFFFFF
##7D231B1.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)
#3D3719
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#8A0422
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231b;
/* rgb */ color: rgb(125, 35, 27);
/* oklch */ color: oklch(39.8% 0.126 29.0);
Tailwind
colors: {
  custom: {
    50: '#aa6458',
    500: '#7d231b',
    950: '#000000',
  },
}
SCSS
$custom: #7d231b;
$custom-light: #aa6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231b",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 4.898,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.12551,
    "h": 29
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7D231B
secondary
#43A8B1
accent
#DAE740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D231B

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

Preview Lab → · Contrast checker → · Palette generator →

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