#7F1E2A#7F1E2A

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

Color values

HEX#7F1E2A
RGBrgb(127, 30, 42)
HSLhsl(353, 62%, 31%)
HSVhsv(353, 76%, 50%)
CMYKcmyk(0%, 76.4%, 66.9%, 50.2%)
CIE-LABlab(28.40, 41.74, 17.77)
CIE-LCHlch(28.40, 45.37, 23.06°)
OKLaboklab(39.91% 0.1239 0.0424)
OKLCHoklch(39.91% 0.131 18.9)
XYZxyz(9.6356, 5.6092, 2.7653)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E2A #1E7F73
analogous
#7F1E5A #7F1E2A #7F421E
triadic
#7F1E2A #2A7F1E #1E2A7F
tetradic
#7F1E2A #5A7F1E #1E7F73 #421E7F
square
#7F1E2A #5A7F1E #1E7F73 #421E7F
split-complementary
#7F1E2A #1E7F42 #1E5A7F
monochromatic
#1C0709 #4D121A #7F1E2A #B12A3A #D34456

Accessibility & contrast

On white

9.90
#7F1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E2A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E2A#FFFFFF#000000##FFFFFF
##7F1E2A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362A
Deuteranopia (green-blind)
#524A27
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e2a;
/* rgb */ color: rgb(127, 30, 42);
/* oklch */ color: oklch(39.9% 0.131 18.9);
Tailwind
colors: {
  custom: {
    50: '#ab6263',
    500: '#7f1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e2a;
$custom-light: #ab6263;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e2a",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 352.577,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.13097,
    "h": 18.9
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#7F1E2A
secondary
#47B2A5
accent
#E5D143
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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