#7F1C2D#7F1C2D

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

Color values

HEX#7F1C2D
RGBrgb(127, 28, 45)
HSLhsl(350, 64%, 30%)
HSVhsv(350, 78%, 50%)
CMYKcmyk(0%, 78%, 64.6%, 50.2%)
CIE-LABlab(28.20, 42.66, 15.52)
CIE-LCHlch(28.20, 45.40, 19.99°)
OKLaboklab(39.78% 0.1275 0.0376)
OKLCHoklch(39.78% 0.133 16.4)
XYZxyz(9.6423, 5.5334, 3.0424)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C2D #1C7F6E
analogous
#7F1C5E #7F1C2D #7F3C1C
triadic
#7F1C2D #2D7F1C #1C2D7F
tetradic
#7F1C2D #5E7F1C #1C7F6E #3C1C7F
square
#7F1C2D #5E7F1C #1C7F6E #3C1C7F
split-complementary
#7F1C2D #1C7F3C #1C5E7F
monochromatic
#1B0609 #4D111B #7F1C2D #B1273F #D5405A

Accessibility & contrast

On white

9.97
#7F1C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1C2D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C2D#FFFFFF#000000##FFFFFF
##7F1C2D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1c2d;
/* rgb */ color: rgb(127, 28, 45);
/* oklch */ color: oklch(39.8% 0.133 16.4);
Tailwind
colors: {
  custom: {
    50: '#aa6265',
    500: '#7f1c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c2d;
$custom-light: #aa6265;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c2d",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 349.697,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.13292,
    "h": 16.4
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#7F1C2D
secondary
#44B3A0
accent
#E7CA41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F1C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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