#7F202F#7F202F

#7F202F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.129 H 16.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7F202F
RGBrgb(127, 32, 47)
HSLhsl(351, 60%, 31%)
HSVhsv(351, 75%, 50%)
CMYKcmyk(0%, 74.8%, 63%, 50.2%)
CIE-LABlab(28.78, 41.32, 14.95)
CIE-LCHlch(28.78, 43.94, 19.89°)
OKLaboklab(40.21% 0.1236 0.0364)
OKLCHoklch(40.21% 0.129 16.4)
XYZxyz(9.7830, 5.7517, 3.2838)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F202F #207F70
analogous
#7F205E #7F202F #7F4020
triadic
#7F202F #2F7F20 #202F7F
tetradic
#7F202F #5E7F20 #207F70 #40207F
square
#7F202F #5E7F20 #207F70 #40207F
split-complementary
#7F202F #207F40 #205E7F
monochromatic
#1D070B #4E141D #7F202F #B02C41 #D1485E

Accessibility & contrast

On white

9.77
#7F202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F202F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F202F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F202F#FFFFFF#000000##FFFFFF
##7F202F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372F
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#8C0326
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f202f;
/* rgb */ color: rgb(127, 32, 47);
/* oklch */ color: oklch(40.2% 0.129 16.4);
Tailwind
colors: {
  custom: {
    50: '#aa6367',
    500: '#7f202f',
    950: '#000000',
  },
}
SCSS
$custom: #7f202f;
$custom-light: #aa6367;
$custom-dark: #000000;
JSON
{
  "hex": "#7f202f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 350.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.12885,
    "h": 16.4
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7F202F
secondary
#49B2A1
accent
#E3CA45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F202F

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

Preview Lab → · Contrast checker → · Palette generator →

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