#7F1529#7F1529

#7F1529 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 17.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1529
RGBrgb(127, 21, 41)
HSLhsl(349, 72%, 29%)
HSVhsv(349, 83%, 50%)
CMYKcmyk(0%, 83.5%, 67.7%, 50.2%)
CIE-LABlab(27.32, 44.66, 17.05)
CIE-LCHlch(27.32, 47.80, 20.90°)
OKLaboklab(39.1% 0.133 0.0407)
OKLCHoklch(39.1% 0.139 17)
XYZxyz(9.4218, 5.2099, 2.6069)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1529 #157F6B
analogous
#7F155E #7F1529 #7F3615
triadic
#7F1529 #297F15 #15297F
tetradic
#7F1529 #5E7F15 #157F6B #36157F
square
#7F1529 #5E7F15 #157F6B #36157F
split-complementary
#7F1529 #157F36 #155E7F
monochromatic
#1A0408 #4A0C18 #7F1529 #B41E3A #DD3152

Accessibility & contrast

On white

10.29
#7F1529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1529
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1529#FFFFFF#000000##FFFFFF
##7F15291.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#504826
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1529;
/* rgb */ color: rgb(127, 21, 41);
/* oklch */ color: oklch(39.1% 0.139 17.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f62',
    500: '#7f1529',
    950: '#000000',
  },
}
SCSS
$custom: #7f1529;
$custom-light: #ab5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1529",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 348.679,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.13912,
    "h": 17
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#7F1529
secondary
#3CB49D
accent
#EECC39
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1529

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

Preview Lab → · Contrast checker → · Palette generator →

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