#7F1F2C#7F1F2C

#7F1F2C is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 18.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7F1F2C
RGBrgb(127, 31, 44)
HSLhsl(352, 61%, 31%)
HSVhsv(352, 76%, 50%)
CMYKcmyk(0%, 75.6%, 65.4%, 50.2%)
CIE-LABlab(28.58, 41.50, 16.67)
CIE-LCHlch(28.58, 44.72, 21.89°)
OKLaboklab(40.05% 0.1236 0.0401)
OKLCHoklch(40.05% 0.13 18)
XYZxyz(9.6980, 5.6753, 2.9672)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F2C #1F7F72
analogous
#7F1F5C #7F1F2C #7F421F
triadic
#7F1F2C #2C7F1F #1F2C7F
tetradic
#7F1F2C #5C7F1F #1F7F72 #421F7F
square
#7F1F2C #5C7F1F #1F7F72 #421F7F
split-complementary
#7F1F2C #1F7F42 #1F5C7F
monochromatic
#1D070A #4E131B #7F1F2C #B02B3D #D24659

Accessibility & contrast

On white

9.84
#7F1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F2C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F2C#FFFFFF#000000##FFFFFF
##7F1F2C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372C
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1f2c;
/* rgb */ color: rgb(127, 31, 44);
/* oklch */ color: oklch(40.0% 0.130 18.0);
Tailwind
colors: {
  custom: {
    50: '#aa6364',
    500: '#7f1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f2c;
$custom-light: #aa6364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f2c",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.12991,
    "h": 18
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#7F1F2C
secondary
#48B2A4
accent
#E4CE44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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