#7F1729#7F1729

#7F1729 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 17.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F1729
RGBrgb(127, 23, 41)
HSLhsl(350, 69%, 29%)
HSVhsv(350, 82%, 50%)
CMYKcmyk(0%, 81.9%, 67.7%, 50.2%)
CIE-LABlab(27.54, 44.06, 17.32)
CIE-LCHlch(27.54, 47.35, 21.46°)
OKLaboklab(39.26% 0.1311 0.0413)
OKLCHoklch(39.26% 0.137 17.5)
XYZxyz(9.4601, 5.2864, 2.6196)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1729 #177F6D
analogous
#7F175D #7F1729 #7F3917
triadic
#7F1729 #297F17 #17297F
tetradic
#7F1729 #5D7F17 #177F6D #39177F
square
#7F1729 #5D7F17 #177F6D #39177F
split-complementary
#7F1729 #177F39 #175D7F
monochromatic
#1A0508 #4B0E18 #7F1729 #B3203A #DB3652

Accessibility & contrast

On white

10.21
#7F1729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1729
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1729#FFFFFF#000000##FFFFFF
##7F17291.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1729;
/* rgb */ color: rgb(127, 23, 41);
/* oklch */ color: oklch(39.3% 0.137 17.5);
Tailwind
colors: {
  custom: {
    50: '#ab6062',
    500: '#7f1729',
    950: '#000000',
  },
}
SCSS
$custom: #7f1729;
$custom-light: #ab6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1729",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 349.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.13748,
    "h": 17.5
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#7F1729
secondary
#3EB49F
accent
#ECCE3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1729

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

Preview Lab → · Contrast checker → · Palette generator →

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