#7F2A1E#7F2A1E

#7F2A1E is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.120 H 30.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2A1E
RGBrgb(127, 42, 30)
HSLhsl(7, 62%, 31%)
HSVhsv(7, 76%, 50%)
CMYKcmyk(0%, 66.9%, 76.4%, 50.2%)
CIE-LABlab(30.07, 36.02, 27.37)
CIE-LCHlch(30.07, 45.24, 37.23°)
OKLaboklab(41.09% 0.1032 0.0615)
OKLCHoklch(41.09% 0.12 30.8)
XYZxyz(9.8158, 6.2631, 1.9201)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A1E #1E737F
analogous
#7F1E42 #7F2A1E #7F5A1E
triadic
#7F2A1E #1E7F2A #2A1E7F
tetradic
#7F2A1E #427F1E #1E737F #5A1E7F
square
#7F2A1E #427F1E #1E737F #5A1E7F
split-complementary
#7F2A1E #1E7F5A #1E427F
monochromatic
#1C0907 #4D1A12 #7F2A1E #B13A2A #D35644

Accessibility & contrast

On white

9.32
#7F2A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A1E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A1E#FFFFFF#000000##FFFFFF
##7F2A1E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8C1428
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a1e;
/* rgb */ color: rgb(127, 42, 30);
/* oklch */ color: oklch(41.1% 0.120 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab685a',
    500: '#7f2a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a1e;
$custom-light: #ab685a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a1e",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 7.423,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.12012,
    "h": 30.8
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7F2A1E
secondary
#47A5B2
accent
#D1E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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