#7F2A24#7F2A24

#7F2A24 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.119 H 27.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F2A24
RGBrgb(127, 42, 36)
HSLhsl(4, 56%, 32%)
HSVhsv(4, 72%, 50%)
CMYKcmyk(0%, 66.9%, 71.7%, 50.2%)
CIE-LABlab(30.15, 36.33, 23.78)
CIE-LCHlch(30.15, 43.42, 33.21°)
OKLaboklab(41.18% 0.1054 0.055)
OKLCHoklch(41.18% 0.119 27.5)
XYZxyz(9.8998, 6.2967, 2.3628)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A24 #24797F
analogous
#7F244C #7F2A24 #7F5824
triadic
#7F2A24 #247F2A #2A247F
tetradic
#7F2A24 #4C7F24 #24797F #58247F
square
#7F2A24 #4C7F24 #24797F #58247F
split-complementary
#7F2A24 #247F58 #244C7F
monochromatic
#200A09 #4F1A16 #7F2A24 #AF3A32 #CD5850

Accessibility & contrast

On white

9.30
#7F2A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A24
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A24#FFFFFF#000000##FFFFFF
##7F2A241.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B23
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#8C1529
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a24;
/* rgb */ color: rgb(127, 42, 36);
/* oklch */ color: oklch(41.2% 0.119 27.5);
Tailwind
colors: {
  custom: {
    50: '#aa685f',
    500: '#7f2a24',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a24;
$custom-light: #aa685f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a24",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 36
  },
  "hsl": {
    "h": 3.956,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.1189,
    "h": 27.5
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#7F2A24
secondary
#4EABB1
accent
#D5DF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2A24

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

Preview Lab → · Contrast checker → · Palette generator →

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