#7F202A#7F202A

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

Color values

HEX#7F202A
RGBrgb(127, 32, 42)
HSLhsl(354, 60%, 31%)
HSVhsv(354, 75%, 50%)
CMYKcmyk(0%, 74.8%, 66.9%, 50.2%)
CIE-LABlab(28.68, 40.98, 18.12)
CIE-LCHlch(28.68, 44.81, 23.85°)
OKLaboklab(40.11% 0.1215 0.0432)
OKLCHoklch(40.11% 0.129 19.6)
XYZxyz(9.6878, 5.7136, 2.7828)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F202A #207F75
analogous
#7F2059 #7F202A #7F4520
triadic
#7F202A #2A7F20 #202A7F
tetradic
#7F202A #597F20 #207F75 #45207F
square
#7F202A #597F20 #207F75 #45207F
split-complementary
#7F202A #207F45 #20597F
monochromatic
#1D070A #4E141A #7F202A #B02C3A #D14857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F202A#FFFFFF#000000##FFFFFF
##7F202A1.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)
#3A372A
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#8C0124
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f202a;
/* rgb */ color: rgb(127, 32, 42);
/* oklch */ color: oklch(40.1% 0.129 19.6);
Tailwind
colors: {
  custom: {
    50: '#ab6363',
    500: '#7f202a',
    950: '#000000',
  },
}
SCSS
$custom: #7f202a;
$custom-light: #ab6363;
$custom-dark: #000000;
JSON
{
  "hex": "#7f202a",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 353.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.12894,
    "h": 19.6
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#7F202A
secondary
#49B2A7
accent
#E3D245
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F202A

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

Preview Lab → · Contrast checker → · Palette generator →

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