#7F2F1C#7F2F1C

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

Color values

HEX#7F2F1C
RGBrgb(127, 47, 28)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 50%)
CMYKcmyk(0%, 63%, 78%, 50.2%)
CIE-LABlab(30.95, 33.51, 29.51)
CIE-LCHlch(30.95, 44.65, 41.36°)
OKLaboklab(41.75% 0.0949 0.0657)
OKLCHoklch(41.75% 0.115 34.7)
XYZxyz(9.9796, 6.6303, 1.8527)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F1C #1C6C7F
analogous
#7F1C3A #7F2F1C #7F601C
triadic
#7F2F1C #1C7F2F #2F1C7F
tetradic
#7F2F1C #3A7F1C #1C6C7F #601C7F
square
#7F2F1C #3A7F1C #1C6C7F #601C7F
split-complementary
#7F2F1C #1C7F60 #1C3A7F
monochromatic
#1B0A06 #4D1C11 #7F2F1C #B14227 #D55D40

Accessibility & contrast

On white

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

On black

2.33
#7F2F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F2F1C#FFFFFF#000000##FFFFFF
##7F2F1C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2f1c;
/* rgb */ color: rgb(127, 47, 28);
/* oklch */ color: oklch(41.7% 0.115 34.7);
Tailwind
colors: {
  custom: {
    50: '#ab6b59',
    500: '#7f2f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f1c;
$custom-light: #ab6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f1c",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 11.515,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.11543,
    "h": 34.7
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7F2F1C
secondary
#449DB3
accent
#C7E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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