#7F1E2E#7F1E2E

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

Color values

HEX#7F1E2E
RGBrgb(127, 30, 46)
HSLhsl(350, 62%, 31%)
HSVhsv(350, 76%, 50%)
CMYKcmyk(0%, 76.4%, 63.8%, 50.2%)
CIE-LABlab(28.48, 42.01, 15.22)
CIE-LCHlch(28.48, 44.68, 19.92°)
OKLaboklab(39.99% 0.1256 0.037)
OKLCHoklch(39.99% 0.131 16.4)
XYZxyz(9.7108, 5.6392, 3.1614)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E2E #1E7F6F
analogous
#7F1E5E #7F1E2E #7F3E1E
triadic
#7F1E2E #2E7F1E #1E2E7F
tetradic
#7F1E2E #5E7F1E #1E7F6F #3E1E7F
square
#7F1E2E #5E7F1E #1E7F6F #3E1E7F
split-complementary
#7F1E2E #1E7F3E #1E5E7F
monochromatic
#1C070A #4D121C #7F1E2E #B12A40 #D3445C

Accessibility & contrast

On white

9.87
#7F1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E2E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E2E#FFFFFF#000000##FFFFFF
##7F1E2E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362E
Deuteranopia (green-blind)
#514B2B
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e2e;
/* rgb */ color: rgb(127, 30, 46);
/* oklch */ color: oklch(40.0% 0.131 16.4);
Tailwind
colors: {
  custom: {
    50: '#aa6266',
    500: '#7f1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e2e;
$custom-light: #aa6266;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e2e",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 350.103,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.13092,
    "h": 16.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7F1E2E
secondary
#47B2A0
accent
#E5CA43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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