#7F112B#7F112B

#7F112B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.142 H 15.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7F112B
RGBrgb(127, 17, 43)
HSLhsl(346, 76%, 28%)
HSVhsv(346, 87%, 50%)
CMYKcmyk(0%, 86.6%, 66.1%, 50.2%)
CIE-LABlab(26.99, 45.86, 15.27)
CIE-LCHlch(26.99, 48.33, 18.42°)
OKLaboklab(38.86% 0.1374 0.0368)
OKLCHoklch(38.86% 0.142 15)
XYZxyz(9.3899, 5.0888, 2.7728)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F112B #117F65
analogous
#7F1162 #7F112B #7F2E11
triadic
#7F112B #2B7F11 #112B7F
tetradic
#7F112B #627F11 #117F65 #2E117F
square
#7F112B #627F11 #117F65 #2E117F
split-complementary
#7F112B #117F2E #11627F
monochromatic
#1B0409 #490A19 #7F112B #B5183D #E22854

Accessibility & contrast

On white

10.41
#7F112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F112B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F112B#FFFFFF#000000##FFFFFF
##7F112B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f112b;
/* rgb */ color: rgb(127, 17, 43);
/* oklch */ color: oklch(38.9% 0.142 15.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e64',
    500: '#7f112b',
    950: '#000000',
  },
}
SCSS
$custom: #7f112b;
$custom-light: #ab5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f112b",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 345.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.1422,
    "h": 15
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#7F112B
secondary
#37B597
accent
#F3C635
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F112B

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

Preview Lab → · Contrast checker → · Palette generator →

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