#7D2F2F#7D2F2F

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

Color values

HEX#7D2F2F
RGBrgb(125, 47, 47)
HSLhsl(0, 45%, 34%)
HSVhsv(0, 62%, 49%)
CMYKcmyk(0%, 62.4%, 62.4%, 51%)
CIE-LABlab(30.88, 33.89, 17.62)
CIE-LCHlch(30.88, 38.20, 27.47°)
OKLaboklab(41.71% 0.1003 0.0426)
OKLCHoklch(41.71% 0.109 23)
XYZxyz(9.9880, 6.5995, 3.4367)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F2F #2F7D7D
analogous
#7D2F56 #7D2F2F #7D562F
triadic
#7D2F2F #2F7D2F #2F2F7D
tetradic
#7D2F2F #567D2F #2F7D7D #562F7D
square
#7D2F2F #567D2F #2F7D7D #562F7D
split-complementary
#7D2F2F #2F7D56 #2F567D
monochromatic
#240E0E #511E1E #7D2F2F #A94040 #C46262

Accessibility & contrast

On white

9.05
#7D2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F2F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F2F#FFFFFF#000000##FFFFFF
##7D2F2F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2E
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#892030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2f2f;
/* rgb */ color: rgb(125, 47, 47);
/* oklch */ color: oklch(41.7% 0.109 23.0);
Tailwind
colors: {
  custom: {
    50: '#a86b67',
    500: '#7d2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f2f;
$custom-light: #a86b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f2f",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.10894,
    "h": 23
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7D2F2F
secondary
#5DABAB
accent
#D5D553
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7D2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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