#7F1927#7F1927

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

Color values

HEX#7F1927
RGBrgb(127, 25, 39)
HSLhsl(352, 67%, 30%)
HSVhsv(352, 80%, 50%)
CMYKcmyk(0%, 80.3%, 69.3%, 50.2%)
CIE-LABlab(27.72, 43.31, 18.89)
CIE-LCHlch(27.72, 47.25, 23.56°)
OKLaboklab(39.38% 0.1283 0.0446)
OKLCHoklch(39.38% 0.136 19.2)
XYZxyz(9.4673, 5.3552, 2.4542)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1927 #197F71
analogous
#7F195A #7F1927 #7F3E19
triadic
#7F1927 #277F19 #19277F
tetradic
#7F1927 #5A7F19 #197F71 #3E197F
square
#7F1927 #5A7F19 #197F71 #3E197F
split-complementary
#7F1927 #197F3E #195A7F
monochromatic
#1A0508 #4C0F17 #7F1927 #B22337 #D83A50

Accessibility & contrast

On white

10.14
#7F1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1927
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1927#FFFFFF#000000##FFFFFF
##7F19271.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1927;
/* rgb */ color: rgb(127, 25, 39);
/* oklch */ color: oklch(39.4% 0.136 19.2);
Tailwind
colors: {
  custom: {
    50: '#ab6061',
    500: '#7f1927',
    950: '#000000',
  },
}
SCSS
$custom: #7f1927;
$custom-light: #ab6061;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1927",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 351.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.13577,
    "h": 19.2
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#7F1927
secondary
#41B3A3
accent
#EAD23E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7F1927

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

Preview Lab → · Contrast checker → · Palette generator →

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