#7F1928#7F1928

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

Color values

HEX#7F1928
RGBrgb(127, 25, 40)
HSLhsl(351, 67%, 30%)
HSVhsv(351, 80%, 50%)
CMYKcmyk(0%, 80.3%, 68.5%, 50.2%)
CIE-LABlab(27.74, 43.37, 18.25)
CIE-LCHlch(27.74, 47.05, 22.82°)
OKLaboklab(39.4% 0.1287 0.0433)
OKLCHoklch(39.4% 0.136 18.6)
XYZxyz(9.4841, 5.3619, 2.5426)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1928 #197F70
analogous
#7F195B #7F1928 #7F3D19
triadic
#7F1928 #287F19 #19287F
tetradic
#7F1928 #5B7F19 #197F70 #3D197F
square
#7F1928 #5B7F19 #197F70 #3D197F
split-complementary
#7F1928 #197F3D #195B7F
monochromatic
#1A0508 #4C0F18 #7F1928 #B22338 #D83A51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1928#FFFFFF#000000##FFFFFF
##7F19281.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)
#373428
Deuteranopia (green-blind)
#514925
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1928;
/* rgb */ color: rgb(127, 25, 40);
/* oklch */ color: oklch(39.4% 0.136 18.6);
Tailwind
colors: {
  custom: {
    50: '#ab6061',
    500: '#7f1928',
    950: '#000000',
  },
}
SCSS
$custom: #7f1928;
$custom-light: #ab6061;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1928",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 351.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.13575,
    "h": 18.6
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#7F1928
secondary
#41B3A2
accent
#EAD13E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7F1928

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

Preview Lab → · Contrast checker → · Palette generator →

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