#7F1D2E#7F1D2E

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

Color values

HEX#7F1D2E
RGBrgb(127, 29, 46)
HSLhsl(350, 63%, 31%)
HSVhsv(350, 77%, 50%)
CMYKcmyk(0%, 77.2%, 63.8%, 50.2%)
CIE-LABlab(28.35, 42.37, 15.05)
CIE-LCHlch(28.35, 44.97, 19.56°)
OKLaboklab(39.89% 0.1268 0.0366)
OKLCHoklch(39.89% 0.132 16.1)
XYZxyz(9.6859, 5.5894, 3.1531)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D2E #1D7F6E
analogous
#7F1D5F #7F1D2E #7F3D1D
triadic
#7F1D2E #2E7F1D #1D2E7F
tetradic
#7F1D2E #5F7F1D #1D7F6E #3D1D7F
square
#7F1D2E #5F7F1D #1D7F6E #3D1D7F
split-complementary
#7F1D2E #1D7F3D #1D5F7F
monochromatic
#1B060A #4D121C #7F1D2E #B12840 #D4425C

Accessibility & contrast

On white

9.92
#7F1D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D2E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D2E#FFFFFF#000000##FFFFFF
##7F1D2E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d2e;
/* rgb */ color: rgb(127, 29, 46);
/* oklch */ color: oklch(39.9% 0.132 16.1);
Tailwind
colors: {
  custom: {
    50: '#aa6266',
    500: '#7f1d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d2e;
$custom-light: #aa6266;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d2e",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 349.592,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.13194,
    "h": 16.1
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#7F1D2E
secondary
#45B29F
accent
#E6C942
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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