#7D2F31#7D2F31

#7D2F31 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.109 H 21.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7D2F31
RGBrgb(125, 47, 49)
HSLhsl(358, 45%, 34%)
HSVhsv(358, 62%, 49%)
CMYKcmyk(0%, 62.4%, 60.8%, 51%)
CIE-LABlab(30.92, 34.05, 16.38)
CIE-LCHlch(30.92, 37.78, 25.69°)
OKLaboklab(41.76% 0.1011 0.04)
OKLCHoklch(41.76% 0.109 21.6)
XYZxyz(10.0292, 6.6160, 3.6540)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F31 #2F7D7B
analogous
#7D2F58 #7D2F31 #7D542F
triadic
#7D2F31 #317D2F #2F317D
tetradic
#7D2F31 #587D2F #2F7D7B #542F7D
square
#7D2F31 #587D2F #2F7D7B #542F7D
split-complementary
#7D2F31 #2F7D54 #2F587D
monochromatic
#240E0E #511E20 #7D2F31 #A94042 #C46265

Accessibility & contrast

On white

9.04
#7D2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D2F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F31
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F31#FFFFFF#000000##FFFFFF
##7D2F311.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#892130
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2f31;
/* rgb */ color: rgb(125, 47, 49);
/* oklch */ color: oklch(41.8% 0.109 21.6);
Tailwind
colors: {
  custom: {
    50: '#a86b69',
    500: '#7d2f31',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f31;
$custom-light: #a86b69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f31",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 358.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.10872,
    "h": 21.6
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#7D2F31
secondary
#5DABA9
accent
#D5D253
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7D2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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