#7F1728#7F1728

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

Color values

HEX#7F1728
RGBrgb(127, 23, 40)
HSLhsl(350, 69%, 29%)
HSVhsv(350, 82%, 50%)
CMYKcmyk(0%, 81.9%, 68.5%, 50.2%)
CIE-LABlab(27.52, 44.00, 17.97)
CIE-LCHlch(27.52, 47.53, 22.21°)
OKLaboklab(39.23% 0.1307 0.0426)
OKLCHoklch(39.23% 0.137 18.1)
XYZxyz(9.4428, 5.2795, 2.5289)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1728 #177F6E
analogous
#7F175C #7F1728 #7F3A17
triadic
#7F1728 #287F17 #17287F
tetradic
#7F1728 #5C7F17 #177F6E #3A177F
square
#7F1728 #5C7F17 #177F6E #3A177F
split-complementary
#7F1728 #177F3A #175C7F
monochromatic
#1A0508 #4B0E18 #7F1728 #B32038 #DB3651

Accessibility & contrast

On white

10.22
#7F1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1728
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1728#FFFFFF#000000##FFFFFF
##7F17281.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1728;
/* rgb */ color: rgb(127, 23, 40);
/* oklch */ color: oklch(39.2% 0.137 18.1);
Tailwind
colors: {
  custom: {
    50: '#ab5f61',
    500: '#7f1728',
    950: '#000000',
  },
}
SCSS
$custom: #7f1728;
$custom-light: #ab5f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1728",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 350.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39234,
    "c": 0.13748,
    "h": 18.1
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#7F1728
secondary
#3EB4A0
accent
#ECCF3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1728

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

Preview Lab → · Contrast checker → · Palette generator →

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