#7F2213#7F2213

#7F2213 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 31.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7F2213
RGBrgb(127, 34, 19)
HSLhsl(8, 74%, 29%)
HSVhsv(8, 85%, 50%)
CMYKcmyk(0%, 73.2%, 85%, 50.2%)
CIE-LABlab(28.65, 39.10, 32.24)
CIE-LCHlch(28.65, 50.68, 39.51°)
OKLaboklab(39.99% 0.1105 0.0687)
OKLCHoklch(39.99% 0.13 31.9)
XYZxyz(9.4431, 5.7046, 1.2198)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2213 #13707F
analogous
#7F133A #7F2213 #7F5813
triadic
#7F2213 #137F22 #22137F
tetradic
#7F2213 #3A7F13 #13707F #58137F
square
#7F2213 #3A7F13 #13707F #58137F
split-complementary
#7F2213 #137F58 #133A7F
monochromatic
#1B0704 #4A140B #7F2213 #B4301B #E0462D

Accessibility & contrast

On white

9.81
#7F2213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F2213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2213
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2213#FFFFFF#000000##FFFFFF
##7F22131.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3610
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2213;
/* rgb */ color: rgb(127, 34, 19);
/* oklch */ color: oklch(40.0% 0.130 31.9);
Tailwind
colors: {
  custom: {
    50: '#ac6452',
    500: '#7f2213',
    950: '#000000',
  },
}
SCSS
$custom: #7f2213;
$custom-light: #ac6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2213",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 19
  },
  "hsl": {
    "h": 8.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.1301,
    "h": 31.9
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#7F2213
secondary
#39A3B4
accent
#D7F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2213

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

Preview Lab → · Contrast checker → · Palette generator →

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