#7F2122#7F2122

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

Color values

HEX#7F2122
RGBrgb(127, 33, 34)
HSLhsl(359, 59%, 31%)
HSVhsv(359, 74%, 50%)
CMYKcmyk(0%, 74%, 73.2%, 50.2%)
CIE-LABlab(28.69, 40.13, 23.31)
CIE-LCHlch(28.69, 46.41, 30.15°)
OKLaboklab(40.07% 0.117 0.0536)
OKLCHoklch(40.07% 0.129 24.6)
XYZxyz(9.5860, 5.7167, 2.1117)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2122 #217F7E
analogous
#7F2151 #7F2122 #7F4F21
triadic
#7F2122 #227F21 #21227F
tetradic
#7F2122 #517F21 #217F7E #4F217F
square
#7F2122 #517F21 #217F7E #4F217F
split-complementary
#7F2122 #217F4F #21517F
monochromatic
#1E0808 #4E1415 #7F2122 #B02E2F #D04A4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2122#FFFFFF#000000##FFFFFF
##7F21221.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)
#3C3721
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2122;
/* rgb */ color: rgb(127, 33, 34);
/* oklch */ color: oklch(40.1% 0.129 24.6);
Tailwind
colors: {
  custom: {
    50: '#ab645d',
    500: '#7f2122',
    950: '#000000',
  },
}
SCSS
$custom: #7f2122;
$custom-light: #ab645d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2122",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 34
  },
  "hsl": {
    "h": 359.362,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.12864,
    "h": 24.6
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#7F2122
secondary
#4AB2B1
accent
#E2E046
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2122

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

Preview Lab → · Contrast checker → · Palette generator →

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