#7F1823#7F1823

#7F1823 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 21.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F1823
RGBrgb(127, 24, 35)
HSLhsl(354, 68%, 30%)
HSVhsv(354, 81%, 50%)
CMYKcmyk(0%, 81.1%, 72.4%, 50.2%)
CIE-LABlab(27.54, 43.42, 21.30)
CIE-LCHlch(27.54, 48.36, 26.13°)
OKLaboklab(39.22% 0.1277 0.0493)
OKLCHoklch(39.22% 0.137 21.1)
XYZxyz(9.3835, 5.2881, 2.1164)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1823 #187F74
analogous
#7F1857 #7F1823 #7F4018
triadic
#7F1823 #237F18 #18237F
tetradic
#7F1823 #577F18 #187F74 #40187F
square
#7F1823 #577F18 #187F74 #40187F
split-complementary
#7F1823 #187F40 #18577F
monochromatic
#1A0507 #4C0E15 #7F1823 #B22231 #D93849

Accessibility & contrast

On white

10.21
#7F1823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1823
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1823#FFFFFF#000000##FFFFFF
##7F18231.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373323
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1823;
/* rgb */ color: rgb(127, 24, 35);
/* oklch */ color: oklch(39.2% 0.137 21.1);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7f1823',
    950: '#000000',
  },
}
SCSS
$custom: #7f1823;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1823",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 35
  },
  "hsl": {
    "h": 353.592,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.13684,
    "h": 21.1
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#7F1823
secondary
#3FB3A7
accent
#EBD83D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1823

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

Preview Lab → · Contrast checker → · Palette generator →

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