#7F2215#7F2215

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

Color values

HEX#7F2215
RGBrgb(127, 34, 21)
HSLhsl(7, 72%, 29%)
HSVhsv(7, 83%, 50%)
CMYKcmyk(0%, 73.2%, 83.5%, 50.2%)
CIE-LABlab(28.67, 39.17, 31.15)
CIE-LCHlch(28.67, 50.04, 38.50°)
OKLaboklab(40.01% 0.1111 0.0671)
OKLCHoklch(40.01% 0.13 31.1)
XYZxyz(9.4609, 5.7117, 1.3136)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2215 #15727F
analogous
#7F153D #7F2215 #7F5715
triadic
#7F2215 #157F22 #22157F
tetradic
#7F2215 #3D7F15 #15727F #57157F
square
#7F2215 #3D7F15 #15727F #57157F
split-complementary
#7F2215 #157F57 #153D7F
monochromatic
#1A0704 #4A140C #7F2215 #B4301E #DD4631

Accessibility & contrast

On white

9.80
#7F2215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2215
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2215#FFFFFF#000000##FFFFFF
##7F22151.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3713
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2215;
/* rgb */ color: rgb(127, 34, 21);
/* oklch */ color: oklch(40.0% 0.130 31.1);
Tailwind
colors: {
  custom: {
    50: '#ac6454',
    500: '#7f2215',
    950: '#000000',
  },
}
SCSS
$custom: #7f2215;
$custom-light: #ac6454;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2215",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 21
  },
  "hsl": {
    "h": 7.358,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.12975,
    "h": 31.1
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7F2215
secondary
#3CA5B4
accent
#D8EE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2215

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

Preview Lab → · Contrast checker → · Palette generator →

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