#7F1F2F#7F1F2F

#7F1F2F is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.130 H 16.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7F1F2F
RGBrgb(127, 31, 47)
HSLhsl(350, 61%, 31%)
HSVhsv(350, 76%, 50%)
CMYKcmyk(0%, 75.6%, 63%, 50.2%)
CIE-LABlab(28.64, 41.70, 14.77)
CIE-LCHlch(28.64, 44.24, 19.50°)
OKLaboklab(40.11% 0.1248 0.036)
OKLCHoklch(40.11% 0.13 16.1)
XYZxyz(9.7565, 5.6986, 3.2750)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F2F #1F7F6F
analogous
#7F1F5F #7F1F2F #7F3F1F
triadic
#7F1F2F #2F7F1F #1F2F7F
tetradic
#7F1F2F #5F7F1F #1F7F6F #3F1F7F
square
#7F1F2F #5F7F1F #1F7F6F #3F1F7F
split-complementary
#7F1F2F #1F7F3F #1F5F7F
monochromatic
#1D070B #4E131D #7F1F2F #B02B41 #D2465E

Accessibility & contrast

On white

9.82
#7F1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F2F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F2F#FFFFFF#000000##FFFFFF
##7F1F2F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#514B2C
Tritanopia (blue-blind)
#8C0126
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1f2f;
/* rgb */ color: rgb(127, 31, 47);
/* oklch */ color: oklch(40.1% 0.130 16.1);
Tailwind
colors: {
  custom: {
    50: '#aa6367',
    500: '#7f1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f2f;
$custom-light: #aa6367;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f2f",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 350,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.12991,
    "h": 16.1
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#7F1F2F
secondary
#48B2A0
accent
#E4C944
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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