#7F1F33#7F1F33

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

Color values

HEX#7F1F33
RGBrgb(127, 31, 51)
HSLhsl(348, 61%, 31%)
HSVhsv(348, 76%, 50%)
CMYKcmyk(0%, 75.6%, 59.8%, 50.2%)
CIE-LABlab(28.73, 42.00, 12.22)
CIE-LCHlch(28.73, 43.74, 16.23°)
OKLaboklab(40.21% 0.1265 0.0303)
OKLCHoklch(40.21% 0.13 13.5)
XYZxyz(9.8409, 5.7324, 3.7196)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F33 #1F7F6B
analogous
#7F1F63 #7F1F33 #7F3B1F
triadic
#7F1F33 #337F1F #1F337F
tetradic
#7F1F33 #637F1F #1F7F6B #3B1F7F
square
#7F1F33 #637F1F #1F7F6B #3B1F7F
split-complementary
#7F1F33 #1F7F3B #1F637F
monochromatic
#1D070B #4E131F #7F1F33 #B02B47 #D24664

Accessibility & contrast

On white

9.78
#7F1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F33
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F33#FFFFFF#000000##FFFFFF
##7F1F331.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#8B0327
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1f33;
/* rgb */ color: rgb(127, 31, 51);
/* oklch */ color: oklch(40.2% 0.130 13.5);
Tailwind
colors: {
  custom: {
    50: '#aa636a',
    500: '#7f1f33',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f33;
$custom-light: #aa636a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f33",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 347.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.13009,
    "h": 13.5
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#7F1F33
secondary
#48B29C
accent
#E4C344
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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