#7F1623#7F1623

#7F1623 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 20.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1623
RGBrgb(127, 22, 35)
HSLhsl(353, 70%, 29%)
HSVhsv(353, 83%, 50%)
CMYKcmyk(0%, 82.7%, 72.4%, 50.2%)
CIE-LABlab(27.32, 44.03, 21.03)
CIE-LCHlch(27.32, 48.80, 25.53°)
OKLaboklab(39.06% 0.1296 0.0487)
OKLCHoklch(39.06% 0.138 20.6)
XYZxyz(9.3438, 5.2087, 2.1032)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1623 #167F72
analogous
#7F1658 #7F1623 #7F3D16
triadic
#7F1623 #237F16 #16237F
tetradic
#7F1623 #587F16 #167F72 #3D167F
square
#7F1623 #587F16 #167F72 #3D167F
split-complementary
#7F1623 #167F3D #16587F
monochromatic
#1A0507 #4B0D15 #7F1623 #B31F31 #DC3448

Accessibility & contrast

On white

10.29
#7F1623 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1623 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1623
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1623#FFFFFF#000000##FFFFFF
##7F16231.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1623;
/* rgb */ color: rgb(127, 22, 35);
/* oklch */ color: oklch(39.1% 0.138 20.6);
Tailwind
colors: {
  custom: {
    50: '#ac5f5d',
    500: '#7f1623',
    950: '#000000',
  },
}
SCSS
$custom: #7f1623;
$custom-light: #ac5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1623",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 35
  },
  "hsl": {
    "h": 352.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39062,
    "c": 0.13848,
    "h": 20.6
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#7F1623
secondary
#3DB4A5
accent
#EDD73B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1623

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

Preview Lab → · Contrast checker → · Palette generator →

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