#7F2B1B#7F2B1B

#7F2B1B is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.120 H 32.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7F2B1B
RGBrgb(127, 43, 27)
HSLhsl(10, 65%, 30%)
HSVhsv(10, 79%, 50%)
CMYKcmyk(0%, 66.1%, 78.7%, 50.2%)
CIE-LABlab(30.21, 35.41, 29.29)
CIE-LCHlch(30.21, 45.96, 39.60°)
OKLaboklab(41.18% 0.1006 0.0649)
OKLCHoklch(41.18% 0.12 32.8)
XYZxyz(9.8152, 6.3203, 1.7398)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B1B #1B6F7F
analogous
#7F1B3D #7F2B1B #7F5D1B
triadic
#7F2B1B #1B7F2B #2B1B7F
tetradic
#7F2B1B #3D7F1B #1B6F7F #5D1B7F
square
#7F2B1B #3D7F1B #1B6F7F #5D1B7F
split-complementary
#7F2B1B #1B7F5D #1B3D7F
monochromatic
#1A0906 #4D1A10 #7F2B1B #B13C26 #D6573E

Accessibility & contrast

On white

9.28
#7F2B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B1B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B1B#FFFFFF#000000##FFFFFF
##7F2B1B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B19
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#8C1528
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b1b;
/* rgb */ color: rgb(127, 43, 27);
/* oklch */ color: oklch(41.2% 0.120 32.8);
Tailwind
colors: {
  custom: {
    50: '#ab6958',
    500: '#7f2b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b1b;
$custom-light: #ab6958;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b1b",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 27
  },
  "hsl": {
    "h": 9.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.11975,
    "h": 32.8
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#7F2B1B
secondary
#43A1B3
accent
#CDE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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