#7E202F#7E202F

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

Color values

HEX#7E202F
RGBrgb(126, 32, 47)
HSLhsl(350, 59%, 31%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 74.6%, 62.7%, 50.6%)
CIE-LABlab(28.58, 40.99, 14.65)
CIE-LCHlch(28.58, 43.53, 19.67°)
OKLaboklab(40.03% 0.1227 0.0358)
OKLCHoklch(40.03% 0.128 16.3)
XYZxyz(9.6348, 5.6753, 3.2769)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202F #207E6F
analogous
#7E205E #7E202F #7E4020
triadic
#7E202F #2F7E20 #202F7E
tetradic
#7E202F #5E7E20 #207E6F #40207E
square
#7E202F #5E7E20 #207E6F #40207E
split-complementary
#7E202F #207E40 #205E7E
monochromatic
#1C070B #4D141D #7E202F #AF2C41 #D0485E

Accessibility & contrast

On white

9.84
#7E202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E202F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E202F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E202F#FFFFFF#000000##FFFFFF
##7E202F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#514B2C
Tritanopia (blue-blind)
#8A0426
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202f;
/* rgb */ color: rgb(126, 32, 47);
/* oklch */ color: oklch(40.0% 0.128 16.3);
Tailwind
colors: {
  custom: {
    50: '#a96367',
    500: '#7e202f',
    950: '#000000',
  },
}
SCSS
$custom: #7e202f;
$custom-light: #a96367;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 350.426,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.12777,
    "h": 16.3
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E202F

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

Preview Lab → · Contrast checker → · Palette generator →

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