#7F1A2F#7F1A2F

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

Color values

HEX#7F1A2F
RGBrgb(127, 26, 47)
HSLhsl(348, 66%, 30%)
HSVhsv(348, 80%, 50%)
CMYKcmyk(0%, 79.5%, 63%, 50.2%)
CIE-LABlab(28.00, 43.49, 13.92)
CIE-LCHlch(28.00, 45.66, 17.75°)
OKLaboklab(39.64% 0.1306 0.034)
OKLCHoklch(39.64% 0.135 14.6)
XYZxyz(9.6359, 5.4575, 3.2348)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A2F #1A7F6A
analogous
#7F1A61 #7F1A2F #7F381A
triadic
#7F1A2F #2F7F1A #1A2F7F
tetradic
#7F1A2F #617F1A #1A7F6A #381A7F
square
#7F1A2F #617F1A #1A7F6A #381A7F
split-complementary
#7F1A2F #1A7F38 #1A617F
monochromatic
#190509 #4C101C #7F1A2F #B22442 #D73C5C

Accessibility & contrast

On white

10.04
#7F1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1A2F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A2F#FFFFFF#000000##FFFFFF
##7F1A2F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36352F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1a2f;
/* rgb */ color: rgb(127, 26, 47);
/* oklch */ color: oklch(39.6% 0.135 14.6);
Tailwind
colors: {
  custom: {
    50: '#aa6167',
    500: '#7f1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a2f;
$custom-light: #aa6167;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a2f",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 347.525,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.13491,
    "h": 14.6
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#7F1A2F
secondary
#42B39B
accent
#E9C63F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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