#7F1F2B#7F1F2B

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

Color values

HEX#7F1F2B
RGBrgb(127, 31, 43)
HSLhsl(353, 61%, 31%)
HSVhsv(353, 76%, 50%)
CMYKcmyk(0%, 75.6%, 66.1%, 50.2%)
CIE-LABlab(28.56, 41.43, 17.31)
CIE-LCHlch(28.56, 44.90, 22.67°)
OKLaboklab(40.03% 0.1231 0.0415)
OKLCHoklch(40.03% 0.13 18.6)
XYZxyz(9.6794, 5.6678, 2.8694)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F2B #1F7F73
analogous
#7F1F5B #7F1F2B #7F431F
triadic
#7F1F2B #2B7F1F #1F2B7F
tetradic
#7F1F2B #5B7F1F #1F7F73 #431F7F
square
#7F1F2B #5B7F1F #1F7F73 #431F7F
split-complementary
#7F1F2B #1F7F43 #1F5B7F
monochromatic
#1D070A #4E131A #7F1F2B #B02B3C #D24658

Accessibility & contrast

On white

9.84
#7F1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F2B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F2B#FFFFFF#000000##FFFFFF
##7F1F2B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A362B
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1f2b;
/* rgb */ color: rgb(127, 31, 43);
/* oklch */ color: oklch(40.0% 0.130 18.6);
Tailwind
colors: {
  custom: {
    50: '#aa6364',
    500: '#7f1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f2b;
$custom-light: #aa6364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f2b",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.12993,
    "h": 18.6
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#7F1F2B
secondary
#48B2A5
accent
#E4D044
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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