#7F2120#7F2120

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

Color values

HEX#7F2120
RGBrgb(127, 33, 32)
HSLhsl(1, 60%, 31%)
HSVhsv(1, 75%, 50%)
CMYKcmyk(0%, 74%, 74.8%, 50.2%)
CIE-LABlab(28.66, 40.03, 24.54)
CIE-LCHlch(28.66, 46.95, 31.51°)
OKLaboklab(40.04% 0.1162 0.0558)
OKLCHoklch(40.04% 0.129 25.7)
XYZxyz(9.5580, 5.7055, 1.9642)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2120 #207E7F
analogous
#7F204E #7F2120 #7F5020
triadic
#7F2120 #207F21 #21207F
tetradic
#7F2120 #4E7F20 #207E7F #50207F
square
#7F2120 #4E7F20 #207E7F #50207F
split-complementary
#7F2120 #207F50 #204E7F
monochromatic
#1D0807 #4E1414 #7F2120 #B02E2C #D14A48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2120#FFFFFF#000000##FFFFFF
##7F21201.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)
#3C371F
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2120;
/* rgb */ color: rgb(127, 33, 32);
/* oklch */ color: oklch(40.0% 0.129 25.7);
Tailwind
colors: {
  custom: {
    50: '#ab645b',
    500: '#7f2120',
    950: '#000000',
  },
}
SCSS
$custom: #7f2120;
$custom-light: #ab645b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2120",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 32
  },
  "hsl": {
    "h": 0.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.1289,
    "h": 25.7
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7F2120
secondary
#49B1B2
accent
#E1E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2120

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

Preview Lab → · Contrast checker → · Palette generator →

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