#7D231E#7D231E

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

Color values

HEX#7D231E
RGBrgb(125, 35, 30)
HSLhsl(3, 61%, 30%)
HSVhsv(3, 76%, 49%)
CMYKcmyk(0%, 72%, 76%, 51%)
CIE-LABlab(28.53, 38.41, 25.54)
CIE-LCHlch(28.53, 46.13, 33.62°)
OKLaboklab(39.86% 0.1109 0.0577)
OKLCHoklch(39.86% 0.125 27.5)
XYZxyz(9.2939, 5.6572, 1.8306)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231E #1E787D
analogous
#7D1E48 #7D231E #7D521E
triadic
#7D231E #1E7D23 #231E7D
tetradic
#7D231E #487D1E #1E787D #521E7D
square
#7D231E #487D1E #1E787D #521E7D
split-complementary
#7D231E #1E7D52 #1E487D
monochromatic
#1A0706 #4C1512 #7D231E #AE312A #D24B43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D231E#FFFFFF#000000##FFFFFF
##7D231E1.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)
#3D371D
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#8A0523
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231e;
/* rgb */ color: rgb(125, 35, 30);
/* oklch */ color: oklch(39.9% 0.125 27.5);
Tailwind
colors: {
  custom: {
    50: '#aa645a',
    500: '#7d231e',
    950: '#000000',
  },
}
SCSS
$custom: #7d231e;
$custom-light: #aa645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231e",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 3.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.125,
    "h": 27.5
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#7D231E
secondary
#46ABB0
accent
#DCE443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D231E

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

Preview Lab → · Contrast checker → · Palette generator →

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