#7F1328#7F1328

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

Color values

HEX#7F1328
RGBrgb(127, 19, 40)
HSLhsl(348, 74%, 29%)
HSVhsv(348, 85%, 50%)
CMYKcmyk(0%, 85%, 68.5%, 50.2%)
CIE-LABlab(27.11, 45.16, 17.45)
CIE-LCHlch(27.11, 48.41, 21.12°)
OKLaboklab(38.93% 0.1344 0.0414)
OKLCHoklch(38.93% 0.141 17.1)
XYZxyz(9.3693, 5.1324, 2.5044)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1328 #137F6A
analogous
#7F135E #7F1328 #7F3413
triadic
#7F1328 #287F13 #13287F
tetradic
#7F1328 #5E7F13 #137F6A #34137F
square
#7F1328 #5E7F13 #137F6A #34137F
split-complementary
#7F1328 #137F34 #135E7F
monochromatic
#1B0408 #4A0B17 #7F1328 #B41B39 #E02D50

Accessibility & contrast

On white

10.36
#7F1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1328
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1328#FFFFFF#000000##FFFFFF
##7F13281.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1328;
/* rgb */ color: rgb(127, 19, 40);
/* oklch */ color: oklch(38.9% 0.141 17.1);
Tailwind
colors: {
  custom: {
    50: '#ab5e61',
    500: '#7f1328',
    950: '#000000',
  },
}
SCSS
$custom: #7f1328;
$custom-light: #ab5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1328",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 348.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.14066,
    "h": 17.1
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#7F1328
secondary
#39B49D
accent
#F1CD37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1328

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

Preview Lab → · Contrast checker → · Palette generator →

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