#7F131C#7F131C

#7F131C is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.141 H 23.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7F131C
RGBrgb(127, 19, 28)
HSLhsl(355, 74%, 29%)
HSVhsv(355, 85%, 50%)
CMYKcmyk(0%, 85%, 78%, 50.2%)
CIE-LABlab(26.91, 44.57, 25.09)
CIE-LCHlch(26.91, 51.14, 29.38°)
OKLaboklab(38.73% 0.1296 0.0561)
OKLCHoklch(38.73% 0.141 23.4)
XYZxyz(9.1960, 5.0631, 1.5915)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131C #137F76
analogous
#7F1352 #7F131C #7F4013
triadic
#7F131C #1C7F13 #131C7F
tetradic
#7F131C #527F13 #137F76 #40137F
square
#7F131C #527F13 #137F76 #40137F
split-complementary
#7F131C #137F40 #13527F
monochromatic
#1B0406 #4A0B10 #7F131C #B41B28 #E02D3C

Accessibility & contrast

On white

10.44
#7F131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F131C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F131C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F131C#FFFFFF#000000##FFFFFF
##7F131C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f131c;
/* rgb */ color: rgb(127, 19, 28);
/* oklch */ color: oklch(38.7% 0.141 23.4);
Tailwind
colors: {
  custom: {
    50: '#ac5e58',
    500: '#7f131c',
    950: '#000000',
  },
}
SCSS
$custom: #7f131c;
$custom-light: #ac5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131c",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 355,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.14124,
    "h": 23.4
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#7F131C
secondary
#39B4AA
accent
#F1E137
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F131C

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

Preview Lab → · Contrast checker → · Palette generator →

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