#7D231C#7D231C

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

Color values

HEX#7D231C
RGBrgb(125, 35, 28)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 78%, 49%)
CMYKcmyk(0%, 72%, 77.6%, 51%)
CIE-LABlab(28.50, 38.32, 26.74)
CIE-LCHlch(28.50, 46.72, 34.91°)
OKLaboklab(39.84% 0.1102 0.0598)
OKLCHoklch(39.84% 0.125 28.5)
XYZxyz(9.2691, 5.6473, 1.7003)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D231C #1C767D
analogous
#7D1C45 #7D231C #7D541C
triadic
#7D231C #1C7D23 #231C7D
tetradic
#7D231C #457D1C #1C767D #541C7D
square
#7D231C #457D1C #1C767D #541C7D
split-complementary
#7D231C #1C7D54 #1C457D
monochromatic
#190706 #4B1511 #7D231C #AF3127 #D44A3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D231C#FFFFFF#000000##FFFFFF
##7D231C1.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)
#3D371A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#8A0422
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d231c;
/* rgb */ color: rgb(125, 35, 28);
/* oklch */ color: oklch(39.8% 0.125 28.5);
Tailwind
colors: {
  custom: {
    50: '#aa6458',
    500: '#7d231c',
    950: '#000000',
  },
}
SCSS
$custom: #7d231c;
$custom-light: #aa6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7d231c",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 4.33,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.12534,
    "h": 28.5
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#7D231C
secondary
#44A9B1
accent
#DBE641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D231C

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

Preview Lab → · Contrast checker → · Palette generator →

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