#7F1F2E#7F1F2E

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

Color values

HEX#7F1F2E
RGBrgb(127, 31, 46)
HSLhsl(351, 61%, 31%)
HSVhsv(351, 76%, 50%)
CMYKcmyk(0%, 75.6%, 63.8%, 50.2%)
CIE-LABlab(28.62, 41.63, 15.40)
CIE-LCHlch(28.62, 44.39, 20.30°)
OKLaboklab(40.09% 0.1244 0.0374)
OKLCHoklch(40.09% 0.13 16.7)
XYZxyz(9.7365, 5.6907, 3.1700)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F2E #1F7F70
analogous
#7F1F5E #7F1F2E #7F401F
triadic
#7F1F2E #2E7F1F #1F2E7F
tetradic
#7F1F2E #5E7F1F #1F7F70 #401F7F
square
#7F1F2E #5E7F1F #1F7F70 #401F7F
split-complementary
#7F1F2E #1F7F40 #1F5E7F
monochromatic
#1D070A #4E131C #7F1F2E #B02B40 #D2465C

Accessibility & contrast

On white

9.82
#7F1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F2E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F2E#FFFFFF#000000##FFFFFF
##7F1F2E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1f2e;
/* rgb */ color: rgb(127, 31, 46);
/* oklch */ color: oklch(40.1% 0.130 16.7);
Tailwind
colors: {
  custom: {
    50: '#aa6366',
    500: '#7f1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f2e;
$custom-light: #aa6366;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f2e",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 350.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.12989,
    "h": 16.7
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#7F1F2E
secondary
#48B2A1
accent
#E4CB44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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