#7F2E18#7F2E18

#7F2E18 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 35.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2E18
RGBrgb(127, 46, 24)
HSLhsl(13, 68%, 30%)
HSVhsv(13, 81%, 50%)
CMYKcmyk(0%, 63.8%, 81.1%, 50.2%)
CIE-LABlab(30.72, 33.84, 31.52)
CIE-LCHlch(30.72, 46.25, 42.97°)
OKLaboklab(41.56% 0.0952 0.0689)
OKLCHoklch(41.56% 0.117 35.9)
XYZxyz(9.8953, 6.5334, 1.6040)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E18 #18697F
analogous
#7F1835 #7F2E18 #7F6218
triadic
#7F2E18 #187F2E #2E187F
tetradic
#7F2E18 #357F18 #18697F #62187F
square
#7F2E18 #357F18 #18697F #62187F
split-complementary
#7F2E18 #187F62 #18357F
monochromatic
#1A0905 #4C1B0E #7F2E18 #B24122 #D95A38

Accessibility & contrast

On white

9.11
#7F2E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E18
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E18#FFFFFF#000000##FFFFFF
##7F2E181.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e18;
/* rgb */ color: rgb(127, 46, 24);
/* oklch */ color: oklch(41.6% 0.117 35.9);
Tailwind
colors: {
  custom: {
    50: '#ab6a56',
    500: '#7f2e18',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e18;
$custom-light: #ab6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e18",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 12.816,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.11746,
    "h": 35.9
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#7F2E18
secondary
#3F9BB3
accent
#C6EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E18

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

Preview Lab → · Contrast checker → · Palette generator →

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