#7F2318#7F2318

#7F2318 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 30.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7F2318
RGBrgb(127, 35, 24)
HSLhsl(6, 68%, 30%)
HSVhsv(6, 81%, 50%)
CMYKcmyk(0%, 72.4%, 81.1%, 50.2%)
CIE-LABlab(28.85, 38.86, 29.62)
CIE-LCHlch(28.85, 48.86, 37.31°)
OKLaboklab(40.16% 0.1108 0.0647)
OKLCHoklch(40.16% 0.128 30.3)
XYZxyz(9.5194, 5.7815, 1.4787)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2318 #18747F
analogous
#7F1840 #7F2318 #7F5718
triadic
#7F2318 #187F23 #23187F
tetradic
#7F2318 #407F18 #18747F #57187F
square
#7F2318 #407F18 #18747F #57187F
split-complementary
#7F2318 #187F57 #18407F
monochromatic
#1A0705 #4C150E #7F2318 #B23122 #D94938

Accessibility & contrast

On white

9.74
#7F2318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F2318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2318
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2318#FFFFFF#000000##FFFFFF
##7F23181.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#8C0121
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2318;
/* rgb */ color: rgb(127, 35, 24);
/* oklch */ color: oklch(40.2% 0.128 30.3);
Tailwind
colors: {
  custom: {
    50: '#ac6456',
    500: '#7f2318',
    950: '#000000',
  },
}
SCSS
$custom: #7f2318;
$custom-light: #ac6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2318",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 24
  },
  "hsl": {
    "h": 6.408,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.12828,
    "h": 30.3
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7F2318
secondary
#3FA7B3
accent
#D8EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2318

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

Preview Lab → · Contrast checker → · Palette generator →

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