#7F202C#7F202C

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

Color values

HEX#7F202C
RGBrgb(127, 32, 44)
HSLhsl(352, 60%, 31%)
HSVhsv(352, 75%, 50%)
CMYKcmyk(0%, 74.8%, 65.4%, 50.2%)
CIE-LABlab(28.72, 41.11, 16.85)
CIE-LCHlch(28.72, 44.43, 22.29°)
OKLaboklab(40.15% 0.1223 0.0406)
OKLCHoklch(40.15% 0.129 18.3)
XYZxyz(9.7245, 5.7283, 2.9760)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F202C #207F73
analogous
#7F205B #7F202C #7F4320
triadic
#7F202C #2C7F20 #202C7F
tetradic
#7F202C #5B7F20 #207F73 #43207F
square
#7F202C #5B7F20 #207F73 #43207F
split-complementary
#7F202C #207F43 #205B7F
monochromatic
#1D070A #4E141B #7F202C #B02C3D #D1485A

Accessibility & contrast

On white

9.79
#7F202C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F202C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F202C#FFFFFF#000000##FFFFFF
##7F202C1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#8C0225
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f202c;
/* rgb */ color: rgb(127, 32, 44);
/* oklch */ color: oklch(40.1% 0.129 18.3);
Tailwind
colors: {
  custom: {
    50: '#aa6364',
    500: '#7f202c',
    950: '#000000',
  },
}
SCSS
$custom: #7f202c;
$custom-light: #aa6364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f202c",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 44
  },
  "hsl": {
    "h": 352.421,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40149,
    "c": 0.12887,
    "h": 18.3
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#7F202C
secondary
#49B2A5
accent
#E3CF45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F202C

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

Preview Lab → · Contrast checker → · Palette generator →

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