#7F2D1C#7F2D1C

#7F2D1C is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.117 H 33.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7F2D1C
RGBrgb(127, 45, 28)
HSLhsl(10, 64%, 30%)
HSVhsv(10, 78%, 50%)
CMYKcmyk(0%, 64.6%, 78%, 50.2%)
CIE-LABlab(30.58, 34.50, 29.11)
CIE-LCHlch(30.58, 45.14, 40.16°)
OKLaboklab(41.47% 0.098 0.0648)
OKLCHoklch(41.47% 0.117 33.5)
XYZxyz(9.9014, 6.4740, 1.8266)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D1C #1C6E7F
analogous
#7F1C3C #7F2D1C #7F5E1C
triadic
#7F2D1C #1C7F2D #2D1C7F
tetradic
#7F2D1C #3C7F1C #1C6E7F #5E1C7F
square
#7F2D1C #3C7F1C #1C6E7F #5E1C7F
split-complementary
#7F2D1C #1C7F5E #1C3C7F
monochromatic
#1B0906 #4D1B11 #7F2D1C #B13F27 #D55A40

Accessibility & contrast

On white

9.15
#7F2D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D1C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D1C#FFFFFF#000000##FFFFFF
##7F2D1C1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1A
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#8C192A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d1c;
/* rgb */ color: rgb(127, 45, 28);
/* oklch */ color: oklch(41.5% 0.117 33.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a59',
    500: '#7f2d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d1c;
$custom-light: #ab6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d1c",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 28
  },
  "hsl": {
    "h": 10.303,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.11748,
    "h": 33.5
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#7F2D1C
secondary
#44A0B3
accent
#CAE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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