#7F1F29#7F1F29

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

Color values

HEX#7F1F29
RGBrgb(127, 31, 41)
HSLhsl(354, 61%, 31%)
HSVhsv(354, 76%, 50%)
CMYKcmyk(0%, 75.6%, 67.7%, 50.2%)
CIE-LABlab(28.52, 41.30, 18.58)
CIE-LCHlch(28.52, 45.29, 24.22°)
OKLaboklab(39.99% 0.1223 0.0441)
OKLCHoklch(39.99% 0.13 19.8)
XYZxyz(9.6436, 5.6535, 2.6808)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F29 #1F7F75
analogous
#7F1F59 #7F1F29 #7F451F
triadic
#7F1F29 #297F1F #1F297F
tetradic
#7F1F29 #597F1F #1F7F75 #451F7F
square
#7F1F29 #597F1F #1F7F75 #451F7F
split-complementary
#7F1F29 #1F7F45 #1F597F
monochromatic
#1D0709 #4E1319 #7F1F29 #B02B39 #D24655

Accessibility & contrast

On white

9.86
#7F1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F29
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F29#FFFFFF#000000##FFFFFF
##7F1F291.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3629
Deuteranopia (green-blind)
#524B26
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1f29;
/* rgb */ color: rgb(127, 31, 41);
/* oklch */ color: oklch(40.0% 0.130 19.8);
Tailwind
colors: {
  custom: {
    50: '#ab6362',
    500: '#7f1f29',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f29;
$custom-light: #ab6362;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f29",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 353.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.13001,
    "h": 19.8
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#7F1F29
secondary
#48B2A7
accent
#E4D344
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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