#7F1829#7F1829

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

Color values

HEX#7F1829
RGBrgb(127, 24, 41)
HSLhsl(350, 68%, 30%)
HSVhsv(350, 81%, 50%)
CMYKcmyk(0%, 81.1%, 67.7%, 50.2%)
CIE-LABlab(27.65, 43.75, 17.47)
CIE-LCHlch(27.65, 47.11, 21.76°)
OKLaboklab(39.34% 0.1301 0.0416)
OKLCHoklch(39.34% 0.137 17.7)
XYZxyz(9.4803, 5.3268, 2.6264)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1829 #187F6E
analogous
#7F185D #7F1829 #7F3B18
triadic
#7F1829 #297F18 #18297F
tetradic
#7F1829 #5D7F18 #187F6E #3B187F
square
#7F1829 #5D7F18 #187F6E #3B187F
split-complementary
#7F1829 #187F3B #185D7F
monochromatic
#1A0508 #4C0E18 #7F1829 #B2223A #D93853

Accessibility & contrast

On white

10.17
#7F1829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1829
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1829#FFFFFF#000000##FFFFFF
##7F18291.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.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: #7f1829;
/* rgb */ color: rgb(127, 24, 41);
/* oklch */ color: oklch(39.3% 0.137 17.7);
Tailwind
colors: {
  custom: {
    50: '#ab6062',
    500: '#7f1829',
    950: '#000000',
  },
}
SCSS
$custom: #7f1829;
$custom-light: #ab6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1829",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 350.097,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39337,
    "c": 0.13661,
    "h": 17.7
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#7F1829
secondary
#3FB3A0
accent
#EBCE3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1829

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

Preview Lab → · Contrast checker → · Palette generator →

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