#7F2E24#7F2E24

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

Color values

HEX#7F2E24
RGBrgb(127, 46, 36)
HSLhsl(7, 56%, 32%)
HSVhsv(7, 72%, 50%)
CMYKcmyk(0%, 63.8%, 71.7%, 50.2%)
CIE-LABlab(30.87, 34.42, 24.63)
CIE-LCHlch(30.87, 42.32, 35.59°)
OKLaboklab(41.72% 0.0994 0.0568)
OKLCHoklch(41.72% 0.115 29.7)
XYZxyz(10.0489, 6.5948, 2.4125)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E24 #24757F
analogous
#7F2448 #7F2E24 #7F5B24
triadic
#7F2E24 #247F2E #2E247F
tetradic
#7F2E24 #487F24 #24757F #5B247F
square
#7F2E24 #487F24 #24757F #5B247F
split-complementary
#7F2E24 #247F5B #24487F
monochromatic
#200B09 #4F1D16 #7F2E24 #AF3F32 #CD5E50

Accessibility & contrast

On white

9.06
#7F2E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E24
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E24#FFFFFF#000000##FFFFFF
##7F2E241.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E23
Deuteranopia (green-blind)
#584F22
Tritanopia (blue-blind)
#8C1C2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e24;
/* rgb */ color: rgb(127, 46, 36);
/* oklch */ color: oklch(41.7% 0.115 29.7);
Tailwind
colors: {
  custom: {
    50: '#aa6a5f',
    500: '#7f2e24',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e24;
$custom-light: #aa6a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e24",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 36
  },
  "hsl": {
    "h": 6.593,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.11453,
    "h": 29.7
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#7F2E24
secondary
#4EA6B1
accent
#CFDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2E24

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

Preview Lab → · Contrast checker → · Palette generator →

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