#7F2718#7F2718

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

Color values

HEX#7F2718
RGBrgb(127, 39, 24)
HSLhsl(9, 68%, 30%)
HSVhsv(9, 81%, 50%)
CMYKcmyk(0%, 69.3%, 81.1%, 50.2%)
CIE-LABlab(29.49, 37.13, 30.27)
CIE-LCHlch(29.49, 47.91, 39.19°)
OKLaboklab(40.63% 0.1054 0.0662)
OKLCHoklch(40.63% 0.124 32.1)
XYZxyz(9.6439, 6.0304, 1.5202)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2718 #18707F
analogous
#7F183D #7F2718 #7F5B18
triadic
#7F2718 #187F27 #27187F
tetradic
#7F2718 #3D7F18 #18707F #5B187F
square
#7F2718 #3D7F18 #18707F #5B187F
split-complementary
#7F2718 #187F5B #183D7F
monochromatic
#1A0805 #4C170E #7F2718 #B23722 #D95038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2718#FFFFFF#000000##FFFFFF
##7F27181.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)
#403916
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#8C0C24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2718;
/* rgb */ color: rgb(127, 39, 24);
/* oklch */ color: oklch(40.6% 0.124 32.1);
Tailwind
colors: {
  custom: {
    50: '#ac6656',
    500: '#7f2718',
    950: '#000000',
  },
}
SCSS
$custom: #7f2718;
$custom-light: #ac6656;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2718",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.738,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.12441,
    "h": 32.1
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#7F2718
secondary
#3FA2B3
accent
#D2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2718

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

Preview Lab → · Contrast checker → · Palette generator →

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