#7F1129#7F1129

#7F1129 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.142 H 16.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7F1129
RGBrgb(127, 17, 41)
HSLhsl(347, 76%, 28%)
HSVhsv(347, 87%, 50%)
CMYKcmyk(0%, 86.6%, 67.7%, 50.2%)
CIE-LABlab(26.95, 45.74, 16.57)
CIE-LCHlch(26.95, 48.64, 19.91°)
OKLaboklab(38.82% 0.1365 0.0396)
OKLCHoklch(38.82% 0.142 16.2)
XYZxyz(9.3541, 5.0745, 2.5843)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1129 #117F67
analogous
#7F1160 #7F1129 #7F3011
triadic
#7F1129 #297F11 #11297F
tetradic
#7F1129 #607F11 #117F67 #30117F
square
#7F1129 #607F11 #117F67 #30117F
split-complementary
#7F1129 #117F30 #11607F
monochromatic
#1B0409 #490A18 #7F1129 #B5183A #E22851

Accessibility & contrast

On white

10.42
#7F1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F1129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1129
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1129#FFFFFF#000000##FFFFFF
##7F11291.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333129
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1129;
/* rgb */ color: rgb(127, 17, 41);
/* oklch */ color: oklch(38.8% 0.142 16.2);
Tailwind
colors: {
  custom: {
    50: '#ab5e62',
    500: '#7f1129',
    950: '#000000',
  },
}
SCSS
$custom: #7f1129;
$custom-light: #ab5e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1129",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 346.909,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.14214,
    "h": 16.2
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#7F1129
secondary
#37B599
accent
#F3C935
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1129

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

Preview Lab → · Contrast checker → · Palette generator →

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