#7E2F24#7E2F24

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

Color values

HEX#7E2F24
RGBrgb(126, 47, 36)
HSLhsl(7, 56%, 32%)
HSVhsv(7, 71%, 49%)
CMYKcmyk(0%, 62.7%, 71.4%, 50.6%)
CIE-LABlab(30.87, 33.53, 24.59)
CIE-LCHlch(30.87, 41.59, 36.25°)
OKLaboklab(41.69% 0.0968 0.0568)
OKLCHoklch(41.69% 0.112 30.4)
XYZxyz(9.9401, 6.5974, 2.4187)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F24 #24737E
analogous
#7E2446 #7E2F24 #7E5C24
triadic
#7E2F24 #247E2F #2F247E
tetradic
#7E2F24 #467E24 #24737E #5C247E
square
#7E2F24 #467E24 #24737E #5C247E
split-complementary
#7E2F24 #247E5C #24467E
monochromatic
#1F0B09 #4E1D16 #7E2F24 #AE4132 #CD5F50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2F24#FFFFFF#000000##FFFFFF
##7E2F241.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)
#443E22
Deuteranopia (green-blind)
#584F22
Tritanopia (blue-blind)
#8B1E2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f24;
/* rgb */ color: rgb(126, 47, 36);
/* oklch */ color: oklch(41.7% 0.112 30.4);
Tailwind
colors: {
  custom: {
    50: '#a96b5f',
    500: '#7e2f24',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f24;
$custom-light: #a96b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f24",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 36
  },
  "hsl": {
    "h": 7.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.11223,
    "h": 30.4
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#7E2F24
secondary
#4EA4B0
accent
#CDDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F24

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

Preview Lab → · Contrast checker → · Palette generator →

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