#7D231F#7D231F

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

Color values

HEX#7D231F
RGBrgb(125, 35, 31)
HSLhsl(3, 60%, 31%)
HSVhsv(3, 75%, 49%)
CMYKcmyk(0%, 72%, 75.2%, 51%)
CIE-LABlab(28.54, 38.46, 24.93)
CIE-LCHlch(28.54, 45.83, 32.96°)
OKLaboklab(39.88% 0.1113 0.0566)
OKLCHoklch(39.88% 0.125 27)
XYZxyz(9.3068, 5.6623, 1.8989)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231F #1F797D
analogous
#7D1F4A #7D231F #7D521F
triadic
#7D231F #1F7D23 #231F7D
tetradic
#7D231F #4A7D1F #1F797D #521F7D
square
#7D231F #4A7D1F #1F797D #521F7D
split-complementary
#7D231F #1F7D52 #1F4A7D
monochromatic
#1B0807 #4C1513 #7D231F #AE312B #D14B45

Accessibility & contrast

On white

9.85
#7D231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D231F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D231F#FFFFFF#000000##FFFFFF
##7D231F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#8A0523
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231f;
/* rgb */ color: rgb(125, 35, 31);
/* oklch */ color: oklch(39.9% 0.125 27.0);
Tailwind
colors: {
  custom: {
    50: '#aa645b',
    500: '#7d231f',
    950: '#000000',
  },
}
SCSS
$custom: #7d231f;
$custom-light: #aa645b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231f",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 2.553,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.12483,
    "h": 27
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#7D231F
secondary
#48ACB0
accent
#DDE344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D231F

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

Preview Lab → · Contrast checker → · Palette generator →

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