#7F2717#7F2717

#7F2717 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.125 H 32.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F2717
RGBrgb(127, 39, 23)
HSLhsl(9, 69%, 29%)
HSVhsv(9, 82%, 50%)
CMYKcmyk(0%, 69.3%, 81.9%, 50.2%)
CIE-LABlab(29.48, 37.09, 30.83)
CIE-LCHlch(29.48, 48.23, 39.73°)
OKLaboklab(40.62% 0.105 0.0671)
OKLCHoklch(40.62% 0.125 32.6)
XYZxyz(9.6337, 6.0264, 1.4664)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2717 #176F7F
analogous
#7F173B #7F2717 #7F5B17
triadic
#7F2717 #177F27 #27177F
tetradic
#7F2717 #3B7F17 #176F7F #5B177F
square
#7F2717 #3B7F17 #176F7F #5B177F
split-complementary
#7F2717 #177F5B #173B7F
monochromatic
#1A0805 #4B170E #7F2717 #B33720 #DB4F36

Accessibility & contrast

On white

9.52
#7F2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2717
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2717#FFFFFF#000000##FFFFFF
##7F27171.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#8C0B24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2717;
/* rgb */ color: rgb(127, 39, 23);
/* oklch */ color: oklch(40.6% 0.125 32.6);
Tailwind
colors: {
  custom: {
    50: '#ac6655',
    500: '#7f2717',
    950: '#000000',
  },
}
SCSS
$custom: #7f2717;
$custom-light: #ac6655;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2717",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 9.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.12462,
    "h": 32.6
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#7F2717
secondary
#3EA2B4
accent
#D1EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2717

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

Preview Lab → · Contrast checker → · Palette generator →

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