#7F202D#7F202D

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

Color values

HEX#7F202D
RGBrgb(127, 32, 45)
HSLhsl(352, 60%, 31%)
HSVhsv(352, 75%, 50%)
CMYKcmyk(0%, 74.8%, 64.6%, 50.2%)
CIE-LABlab(28.74, 41.18, 16.22)
CIE-LCHlch(28.74, 44.26, 21.50°)
OKLaboklab(40.17% 0.1227 0.0392)
OKLCHoklch(40.17% 0.129 17.7)
XYZxyz(9.7436, 5.7359, 3.0762)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F202D #207F72
analogous
#7F205C #7F202D #7F4220
triadic
#7F202D #2D7F20 #202D7F
tetradic
#7F202D #5C7F20 #207F72 #42207F
square
#7F202D #5C7F20 #207F72 #42207F
split-complementary
#7F202D #207F42 #205C7F
monochromatic
#1D070A #4E141C #7F202D #B02C3E #D1485B

Accessibility & contrast

On white

9.78
#7F202D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F202D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F202D#FFFFFF#000000##FFFFFF
##7F202D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#8C0226
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f202d;
/* rgb */ color: rgb(127, 32, 45);
/* oklch */ color: oklch(40.2% 0.129 17.7);
Tailwind
colors: {
  custom: {
    50: '#aa6365',
    500: '#7f202d',
    950: '#000000',
  },
}
SCSS
$custom: #7f202d;
$custom-light: #aa6365;
$custom-dark: #000000;
JSON
{
  "hex": "#7f202d",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 45
  },
  "hsl": {
    "h": 351.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.12884,
    "h": 17.7
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#7F202D
secondary
#49B2A3
accent
#E3CD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F202D

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

Preview Lab → · Contrast checker → · Palette generator →

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