#7F1327#7F1327

#7F1327 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 17.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1327
RGBrgb(127, 19, 39)
HSLhsl(349, 74%, 29%)
HSVhsv(349, 85%, 50%)
CMYKcmyk(0%, 85%, 69.3%, 50.2%)
CIE-LABlab(27.09, 45.10, 18.09)
CIE-LCHlch(27.09, 48.60, 21.86°)
OKLaboklab(38.91% 0.134 0.0428)
OKLCHoklch(38.91% 0.141 17.7)
XYZxyz(9.3525, 5.1257, 2.4160)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1327 #137F6B
analogous
#7F135D #7F1327 #7F3513
triadic
#7F1327 #277F13 #13277F
tetradic
#7F1327 #5D7F13 #137F6B #35137F
square
#7F1327 #5D7F13 #137F6B #35137F
split-complementary
#7F1327 #137F35 #135D7F
monochromatic
#1B0408 #4A0B17 #7F1327 #B41B37 #E02D4E

Accessibility & contrast

On white

10.37
#7F1327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1327
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1327#FFFFFF#000000##FFFFFF
##7F13271.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1327;
/* rgb */ color: rgb(127, 19, 39);
/* oklch */ color: oklch(38.9% 0.141 17.7);
Tailwind
colors: {
  custom: {
    50: '#ab5e60',
    500: '#7f1327',
    950: '#000000',
  },
}
SCSS
$custom: #7f1327;
$custom-light: #ab5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1327",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 348.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.14067,
    "h": 17.7
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#7F1327
secondary
#39B49E
accent
#F1CE37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1327

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

Preview Lab → · Contrast checker → · Palette generator →

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