#7F1C2C#7F1C2C

#7F1C2C is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.8% C 0.133 H 17.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7F1C2C
RGBrgb(127, 28, 44)
HSLhsl(350, 64%, 30%)
HSVhsv(350, 78%, 50%)
CMYKcmyk(0%, 78%, 65.4%, 50.2%)
CIE-LABlab(28.18, 42.60, 16.16)
CIE-LCHlch(28.18, 45.56, 20.78°)
OKLaboklab(39.75% 0.1271 0.039)
OKLCHoklch(39.75% 0.133 17)
XYZxyz(9.6233, 5.5258, 2.9423)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C2C #1C7F6F
analogous
#7F1C5D #7F1C2C #7F3D1C
triadic
#7F1C2C #2C7F1C #1C2C7F
tetradic
#7F1C2C #5D7F1C #1C7F6F #3D1C7F
square
#7F1C2C #5D7F1C #1C7F6F #3D1C7F
split-complementary
#7F1C2C #1C7F3D #1C5D7F
monochromatic
#1B0609 #4D111B #7F1C2C #B1273D #D54058

Accessibility & contrast

On white

9.98
#7F1C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C2C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C2C#FFFFFF#000000##FFFFFF
##7F1C2C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1c2c;
/* rgb */ color: rgb(127, 28, 44);
/* oklch */ color: oklch(39.8% 0.133 17.0);
Tailwind
colors: {
  custom: {
    50: '#ab6264',
    500: '#7f1c2c',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c2c;
$custom-light: #ab6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c2c",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 350.303,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.13291,
    "h": 17
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7F1C2C
secondary
#44B3A1
accent
#E7CC41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F1C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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