#7F1629#7F1629

#7F1629 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 17.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7F1629
RGBrgb(127, 22, 41)
HSLhsl(349, 70%, 29%)
HSVhsv(349, 83%, 50%)
CMYKcmyk(0%, 82.7%, 67.7%, 50.2%)
CIE-LABlab(27.43, 44.37, 17.19)
CIE-LCHlch(27.43, 47.58, 21.18°)
OKLaboklab(39.17% 0.1321 0.041)
OKLCHoklch(39.17% 0.138 17.2)
XYZxyz(9.4406, 5.2474, 2.6131)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1629 #167F6C
analogous
#7F165E #7F1629 #7F3816
triadic
#7F1629 #297F16 #16297F
tetradic
#7F1629 #5E7F16 #167F6C #38167F
square
#7F1629 #5E7F16 #167F6C #38167F
split-complementary
#7F1629 #167F38 #165E7F
monochromatic
#1A0508 #4B0D18 #7F1629 #B31F3A #DC3452

Accessibility & contrast

On white

10.25
#7F1629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1629 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1629
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1629#FFFFFF#000000##FFFFFF
##7F16291.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1629;
/* rgb */ color: rgb(127, 22, 41);
/* oklch */ color: oklch(39.2% 0.138 17.2);
Tailwind
colors: {
  custom: {
    50: '#ab5f62',
    500: '#7f1629',
    950: '#000000',
  },
}
SCSS
$custom: #7f1629;
$custom-light: #ab5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1629",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 41
  },
  "hsl": {
    "h": 349.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.13831,
    "h": 17.2
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7F1629
secondary
#3DB49E
accent
#EDCD3B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1629

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

Preview Lab → · Contrast checker → · Palette generator →

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