#7F1E28#7F1E28

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

Color values

HEX#7F1E28
RGBrgb(127, 30, 40)
HSLhsl(354, 62%, 31%)
HSVhsv(354, 76%, 50%)
CMYKcmyk(0%, 76.4%, 68.5%, 50.2%)
CIE-LABlab(28.37, 41.62, 19.04)
CIE-LCHlch(28.37, 45.77, 24.58°)
OKLaboklab(39.87% 0.1231 0.045)
OKLCHoklch(39.87% 0.131 20.1)
XYZxyz(9.6007, 5.5952, 2.5815)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E28 #1E7F75
analogous
#7F1E58 #7F1E28 #7F441E
triadic
#7F1E28 #287F1E #1E287F
tetradic
#7F1E28 #587F1E #1E7F75 #441E7F
square
#7F1E28 #587F1E #1E7F75 #441E7F
split-complementary
#7F1E28 #1E7F44 #1E587F
monochromatic
#1C0709 #4D1218 #7F1E28 #B12A38 #D34453

Accessibility & contrast

On white

9.91
#7F1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E28
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E28#FFFFFF#000000##FFFFFF
##7F1E281.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1e28;
/* rgb */ color: rgb(127, 30, 40);
/* oklch */ color: oklch(39.9% 0.131 20.1);
Tailwind
colors: {
  custom: {
    50: '#ab6261',
    500: '#7f1e28',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e28;
$custom-light: #ab6261;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e28",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.814,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.13105,
    "h": 20.1
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7F1E28
secondary
#47B2A7
accent
#E5D443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7F1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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