#7D2F1B#7D2F1B

#7D2F1B is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.113 H 35.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7D2F1B
RGBrgb(125, 47, 27)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 49%)
CMYKcmyk(0%, 62.4%, 78.4%, 51%)
CIE-LABlab(30.58, 32.68, 29.58)
CIE-LCHlch(30.58, 44.07, 42.15°)
OKLaboklab(41.39% 0.0924 0.0657)
OKLCHoklch(41.39% 0.113 35.4)
XYZxyz(9.6728, 6.4735, 1.7769)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F1B #1B697D
analogous
#7D1B38 #7D2F1B #7D601B
triadic
#7D2F1B #1B7D2F #2F1B7D
tetradic
#7D2F1B #387D1B #1B697D #601B7D
square
#7D2F1B #387D1B #1B697D #601B7D
split-complementary
#7D2F1B #1B7D60 #1B387D
monochromatic
#190905 #4B1C10 #7D2F1B #AF4226 #D55C3D

Accessibility & contrast

On white

9.15
#7D2F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D2F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F1B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F1B#FFFFFF#000000##FFFFFF
##7D2F1B1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#8A1D2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2f1b;
/* rgb */ color: rgb(125, 47, 27);
/* oklch */ color: oklch(41.4% 0.113 35.4);
Tailwind
colors: {
  custom: {
    50: '#a96b58',
    500: '#7d2f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f1b;
$custom-light: #a96b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f1b",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 27
  },
  "hsl": {
    "h": 12.245,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.11335,
    "h": 35.4
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#7D2F1B
secondary
#439AB1
accent
#C5E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D2F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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