#7F2E1D#7F2E1D

#7F2E1D is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.116 H 33.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7F2E1D
RGBrgb(127, 46, 29)
HSLhsl(10, 63%, 31%)
HSVhsv(10, 77%, 50%)
CMYKcmyk(0%, 63.8%, 77.2%, 50.2%)
CIE-LABlab(30.77, 34.05, 28.74)
CIE-LCHlch(30.77, 44.56, 40.16°)
OKLaboklab(41.62% 0.0968 0.0643)
OKLCHoklch(41.62% 0.116 33.6)
XYZxyz(9.9522, 6.5561, 1.9036)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E1D #1D6E7F
analogous
#7F1D3D #7F2E1D #7F5F1D
triadic
#7F2E1D #1D7F2E #2E1D7F
tetradic
#7F2E1D #3D7F1D #1D6E7F #5F1D7F
square
#7F2E1D #3D7F1D #1D6E7F #5F1D7F
split-complementary
#7F2E1D #1D7F5F #1D3D7F
monochromatic
#1B0A06 #4D1C12 #7F2E1D #B14028 #D45C42

Accessibility & contrast

On white

9.09
#7F2E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E1D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E1D#FFFFFF#000000##FFFFFF
##7F2E1D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1B
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e1d;
/* rgb */ color: rgb(127, 46, 29);
/* oklch */ color: oklch(41.6% 0.116 33.6);
Tailwind
colors: {
  custom: {
    50: '#ab6a5a',
    500: '#7f2e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e1d;
$custom-light: #ab6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e1d",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 29
  },
  "hsl": {
    "h": 10.408,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.1162,
    "h": 33.6
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#7F2E1D
secondary
#459FB2
accent
#C9E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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