#7F1628#7F1628

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

Color values

HEX#7F1628
RGBrgb(127, 22, 40)
HSLhsl(350, 70%, 29%)
HSVhsv(350, 83%, 50%)
CMYKcmyk(0%, 82.7%, 68.5%, 50.2%)
CIE-LABlab(27.41, 44.31, 17.83)
CIE-LCHlch(27.41, 47.76, 21.92°)
OKLaboklab(39.16% 0.1317 0.0423)
OKLCHoklch(39.16% 0.138 17.8)
XYZxyz(9.4234, 5.2405, 2.5224)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1628 #167F6D
analogous
#7F165D #7F1628 #7F3916
triadic
#7F1628 #287F16 #16287F
tetradic
#7F1628 #5D7F16 #167F6D #39167F
square
#7F1628 #5D7F16 #167F6D #39167F
split-complementary
#7F1628 #167F39 #165D7F
monochromatic
#1A0508 #4B0D18 #7F1628 #B31F38 #DC3450

Accessibility & contrast

On white

10.25
#7F1628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1628
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1628#FFFFFF#000000##FFFFFF
##7F16281.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1628;
/* rgb */ color: rgb(127, 22, 40);
/* oklch */ color: oklch(39.2% 0.138 17.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f61',
    500: '#7f1628',
    950: '#000000',
  },
}
SCSS
$custom: #7f1628;
$custom-light: #ab5f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1628",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 349.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.13831,
    "h": 17.8
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#7F1628
secondary
#3DB49F
accent
#EDCF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1628

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

Preview Lab → · Contrast checker → · Palette generator →

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