#7F1E2F#7F1E2F

#7F1E2F is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.131 H 15.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F1E2F
RGBrgb(127, 30, 47)
HSLhsl(349, 62%, 31%)
HSVhsv(349, 76%, 50%)
CMYKcmyk(0%, 76.4%, 63%, 50.2%)
CIE-LABlab(28.50, 42.08, 14.59)
CIE-LCHlch(28.50, 44.53, 19.12°)
OKLaboklab(40.01% 0.126 0.0356)
OKLCHoklch(40.01% 0.131 15.8)
XYZxyz(9.7307, 5.6472, 3.2664)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E2F #1E7F6E
analogous
#7F1E5F #7F1E2F #7F3E1E
triadic
#7F1E2F #2F7F1E #1E2F7F
tetradic
#7F1E2F #5F7F1E #1E7F6E #3E1E7F
square
#7F1E2F #5F7F1E #1E7F6E #3E1E7F
split-complementary
#7F1E2F #1E7F3E #1E5F7F
monochromatic
#1C070A #4D121D #7F1E2F #B12A41 #D3445D

Accessibility & contrast

On white

9.86
#7F1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E2F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E2F#FFFFFF#000000##FFFFFF
##7F1E2F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#514B2C
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e2f;
/* rgb */ color: rgb(127, 30, 47);
/* oklch */ color: oklch(40.0% 0.131 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa6367',
    500: '#7f1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e2f;
$custom-light: #aa6367;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e2f",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 349.485,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.13095,
    "h": 15.8
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#7F1E2F
secondary
#47B29F
accent
#E5C843
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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