#7F1929#7F1929

#7F1929 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.136 H 18.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7F1929
RGBrgb(127, 25, 41)
HSLhsl(351, 67%, 30%)
HSVhsv(351, 80%, 50%)
CMYKcmyk(0%, 80.3%, 67.7%, 50.2%)
CIE-LABlab(27.76, 43.43, 17.61)
CIE-LCHlch(27.76, 46.86, 22.07°)
OKLaboklab(39.42% 0.1291 0.0419)
OKLCHoklch(39.42% 0.136 18)
XYZxyz(9.5013, 5.3688, 2.6334)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1929 #197F6F
analogous
#7F195C #7F1929 #7F3C19
triadic
#7F1929 #297F19 #19297F
tetradic
#7F1929 #5C7F19 #197F6F #3C197F
square
#7F1929 #5C7F19 #197F6F #3C197F
split-complementary
#7F1929 #197F3C #195C7F
monochromatic
#1A0508 #4C0F18 #7F1929 #B2233A #D83A53

Accessibility & contrast

On white

10.13
#7F1929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1929
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1929#FFFFFF#000000##FFFFFF
##7F19291.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373429
Deuteranopia (green-blind)
#514926
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1929;
/* rgb */ color: rgb(127, 25, 41);
/* oklch */ color: oklch(39.4% 0.136 18.0);
Tailwind
colors: {
  custom: {
    50: '#ab6062',
    500: '#7f1929',
    950: '#000000',
  },
}
SCSS
$custom: #7f1929;
$custom-light: #ab6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1929",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 41
  },
  "hsl": {
    "h": 350.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.13573,
    "h": 18
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#7F1929
secondary
#41B3A1
accent
#EACF3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7F1929

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

Preview Lab → · Contrast checker → · Palette generator →

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