#7F1C2E#7F1C2E

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

Color values

HEX#7F1C2E
RGBrgb(127, 28, 46)
HSLhsl(349, 64%, 30%)
HSVhsv(349, 78%, 50%)
CMYKcmyk(0%, 78%, 63.8%, 50.2%)
CIE-LABlab(28.22, 42.73, 14.88)
CIE-LCHlch(28.22, 45.25, 19.20°)
OKLaboklab(39.8% 0.1279 0.0362)
OKLCHoklch(39.8% 0.133 15.8)
XYZxyz(9.6618, 5.5412, 3.1450)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C2E #1C7F6D
analogous
#7F1C5F #7F1C2E #7F3B1C
triadic
#7F1C2E #2E7F1C #1C2E7F
tetradic
#7F1C2E #5F7F1C #1C7F6D #3B1C7F
square
#7F1C2E #5F7F1C #1C7F6D #3B1C7F
split-complementary
#7F1C2E #1C7F3B #1C5F7F
monochromatic
#1B060A #4D111C #7F1C2E #B12740 #D5405B

Accessibility & contrast

On white

9.96
#7F1C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C2E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C2E#FFFFFF#000000##FFFFFF
##7F1C2E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352E
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1c2e;
/* rgb */ color: rgb(127, 28, 46);
/* oklch */ color: oklch(39.8% 0.133 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa6266',
    500: '#7f1c2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c2e;
$custom-light: #aa6266;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c2e",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 349.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.13294,
    "h": 15.8
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#7F1C2E
secondary
#44B39F
accent
#E7C941
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F1C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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