#7F1627#7F1627

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

Color values

HEX#7F1627
RGBrgb(127, 22, 39)
HSLhsl(350, 70%, 29%)
HSVhsv(350, 83%, 50%)
CMYKcmyk(0%, 82.7%, 69.3%, 50.2%)
CIE-LABlab(27.39, 44.25, 18.47)
CIE-LCHlch(27.39, 47.95, 22.66°)
OKLaboklab(39.14% 0.1313 0.0436)
OKLCHoklch(39.14% 0.138 18.4)
XYZxyz(9.4066, 5.2338, 2.4340)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1627 #167F6E
analogous
#7F165C #7F1627 #7F3A16
triadic
#7F1627 #277F16 #16277F
tetradic
#7F1627 #5C7F16 #167F6E #3A167F
square
#7F1627 #5C7F16 #167F6E #3A167F
split-complementary
#7F1627 #167F3A #165C7F
monochromatic
#1A0508 #4B0D17 #7F1627 #B31F37 #DC344F

Accessibility & contrast

On white

10.26
#7F1627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1627
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1627#FFFFFF#000000##FFFFFF
##7F16271.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1627;
/* rgb */ color: rgb(127, 22, 39);
/* oklch */ color: oklch(39.1% 0.138 18.4);
Tailwind
colors: {
  custom: {
    50: '#ab5f60',
    500: '#7f1627',
    950: '#000000',
  },
}
SCSS
$custom: #7f1627;
$custom-light: #ab5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1627",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 39
  },
  "hsl": {
    "h": 350.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.13833,
    "h": 18.4
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#7F1627
secondary
#3DB4A1
accent
#EDD03B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1627

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

Preview Lab → · Contrast checker → · Palette generator →

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