#7F1A2E#7F1A2E

#7F1A2E is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.135 H 15.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7F1A2E
RGBrgb(127, 26, 46)
HSLhsl(348, 66%, 30%)
HSVhsv(348, 80%, 50%)
CMYKcmyk(0%, 79.5%, 63.8%, 50.2%)
CIE-LABlab(27.98, 43.42, 14.56)
CIE-LCHlch(27.98, 45.79, 18.54°)
OKLaboklab(39.62% 0.1301 0.0355)
OKLCHoklch(39.62% 0.135 15.2)
XYZxyz(9.6159, 5.4495, 3.1298)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A2E #1A7F6B
analogous
#7F1A60 #7F1A2E #7F391A
triadic
#7F1A2E #2E7F1A #1A2E7F
tetradic
#7F1A2E #607F1A #1A7F6B #391A7F
square
#7F1A2E #607F1A #1A7F6B #391A7F
split-complementary
#7F1A2E #1A7F39 #1A607F
monochromatic
#190509 #4C101C #7F1A2E #B22440 #D73C5B

Accessibility & contrast

On white

10.05
#7F1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A2E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A2E#FFFFFF#000000##FFFFFF
##7F1A2E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1a2e;
/* rgb */ color: rgb(127, 26, 46);
/* oklch */ color: oklch(39.6% 0.135 15.2);
Tailwind
colors: {
  custom: {
    50: '#aa6166',
    500: '#7f1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a2e;
$custom-light: #aa6166;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a2e",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 348.119,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.13487,
    "h": 15.2
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7F1A2E
secondary
#42B39D
accent
#E9C73F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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