#7F2F1B#7F2F1B

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

Color values

HEX#7F2F1B
RGBrgb(127, 47, 27)
HSLhsl(12, 65%, 30%)
HSVhsv(12, 79%, 50%)
CMYKcmyk(0%, 63%, 78.7%, 50.2%)
CIE-LABlab(30.94, 33.47, 30.07)
CIE-LCHlch(30.94, 44.99, 41.94°)
OKLaboklab(41.73% 0.0946 0.0666)
OKLCHoklch(41.73% 0.116 35.1)
XYZxyz(9.9678, 6.6256, 1.7907)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F1B #1B6B7F
analogous
#7F1B39 #7F2F1B #7F611B
triadic
#7F2F1B #1B7F2F #2F1B7F
tetradic
#7F2F1B #397F1B #1B6B7F #611B7F
square
#7F2F1B #397F1B #1B6B7F #611B7F
split-complementary
#7F2F1B #1B7F61 #1B397F
monochromatic
#1A0A06 #4D1C10 #7F2F1B #B14226 #D65D3E

Accessibility & contrast

On white

9.03
#7F2F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F1B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F1B#FFFFFF#000000##FFFFFF
##7F2F1B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E18
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8C1C2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f1b;
/* rgb */ color: rgb(127, 47, 27);
/* oklch */ color: oklch(41.7% 0.116 35.1);
Tailwind
colors: {
  custom: {
    50: '#ab6b58',
    500: '#7f2f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f1b;
$custom-light: #ab6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f1b",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 27
  },
  "hsl": {
    "h": 12,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.11569,
    "h": 35.1
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#7F2F1B
secondary
#439CB3
accent
#C6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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