#7F1924#7F1924

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

Color values

HEX#7F1924
RGBrgb(127, 25, 36)
HSLhsl(354, 67%, 30%)
HSVhsv(354, 80%, 50%)
CMYKcmyk(0%, 80.3%, 71.7%, 50.2%)
CIE-LABlab(27.67, 43.14, 20.80)
CIE-LCHlch(27.67, 47.90, 25.74°)
OKLaboklab(39.33% 0.127 0.0484)
OKLCHoklch(39.33% 0.136 20.8)
XYZxyz(9.4195, 5.3361, 2.2027)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1924 #197F74
analogous
#7F1957 #7F1924 #7F4119
triadic
#7F1924 #247F19 #19247F
tetradic
#7F1924 #577F19 #197F74 #41197F
square
#7F1924 #577F19 #197F74 #41197F
split-complementary
#7F1924 #197F41 #19577F
monochromatic
#1A0507 #4C0F16 #7F1924 #B22332 #D83A4B

Accessibility & contrast

On white

10.16
#7F1924 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1924
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1924#FFFFFF#000000##FFFFFF
##7F19241.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1924;
/* rgb */ color: rgb(127, 25, 36);
/* oklch */ color: oklch(39.3% 0.136 20.8);
Tailwind
colors: {
  custom: {
    50: '#ab605e',
    500: '#7f1924',
    950: '#000000',
  },
}
SCSS
$custom: #7f1924;
$custom-light: #ab605e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1924",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 36
  },
  "hsl": {
    "h": 353.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.13592,
    "h": 20.8
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#7F1924
secondary
#41B3A7
accent
#EAD73E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1924

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

Preview Lab → · Contrast checker → · Palette generator →

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