#7F112C#7F112C

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

Color values

HEX#7F112C
RGBrgb(127, 17, 44)
HSLhsl(345, 76%, 28%)
HSVhsv(345, 87%, 50%)
CMYKcmyk(0%, 86.6%, 65.4%, 50.2%)
CIE-LABlab(27.01, 45.92, 14.62)
CIE-LCHlch(27.01, 48.19, 17.67°)
OKLaboklab(38.88% 0.1378 0.0354)
OKLCHoklch(38.88% 0.142 14.4)
XYZxyz(9.4085, 5.0962, 2.8707)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F112C #117F64
analogous
#7F1163 #7F112C #7F2D11
triadic
#7F112C #2C7F11 #112C7F
tetradic
#7F112C #637F11 #117F64 #2D117F
square
#7F112C #637F11 #117F64 #2D117F
split-complementary
#7F112C #117F2D #11637F
monochromatic
#1B0409 #490A19 #7F112C #B5183F #E22856

Accessibility & contrast

On white

10.40
#7F112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F112C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F112C#FFFFFF#000000##FFFFFF
##7F112C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f112c;
/* rgb */ color: rgb(127, 17, 44);
/* oklch */ color: oklch(38.9% 0.142 14.4);
Tailwind
colors: {
  custom: {
    50: '#ab5e64',
    500: '#7f112c',
    950: '#000000',
  },
}
SCSS
$custom: #7f112c;
$custom-light: #ab5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f112c",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 345.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.14225,
    "h": 14.4
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#7F112C
secondary
#37B596
accent
#F3C435
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F112C

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

Preview Lab → · Contrast checker → · Palette generator →

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