#7F2813#7F2813

#7F2813 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.124 H 34.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F2813
RGBrgb(127, 40, 19)
HSLhsl(12, 74%, 29%)
HSVhsv(12, 85%, 50%)
CMYKcmyk(0%, 68.5%, 85%, 50.2%)
CIE-LABlab(29.61, 36.50, 33.13)
CIE-LCHlch(29.61, 49.30, 42.23°)
OKLaboklab(40.71% 0.1024 0.0707)
OKLCHoklch(40.71% 0.124 34.6)
XYZxyz(9.6298, 6.0781, 1.2821)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2813 #136A7F
analogous
#7F1334 #7F2813 #7F5E13
triadic
#7F2813 #137F28 #28137F
tetradic
#7F2813 #347F13 #136A7F #5E137F
square
#7F2813 #347F13 #136A7F #5E137F
split-complementary
#7F2813 #137F5E #13347F
monochromatic
#1B0804 #4A170B #7F2813 #B4391B #E0502D

Accessibility & contrast

On white

9.48
#7F2813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F2813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2813
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2813#FFFFFF#000000##FFFFFF
##7F28131.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A10
Deuteranopia (green-blind)
#574D0F
Tritanopia (blue-blind)
#8C0D24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2813;
/* rgb */ color: rgb(127, 40, 19);
/* oklch */ color: oklch(40.7% 0.124 34.6);
Tailwind
colors: {
  custom: {
    50: '#ac6753',
    500: '#7f2813',
    950: '#000000',
  },
}
SCSS
$custom: #7f2813;
$custom-light: #ac6753;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2813",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 11.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.12446,
    "h": 34.6
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#7F2813
secondary
#399DB4
accent
#CDF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2813

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

Preview Lab → · Contrast checker → · Palette generator →

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