#7F2127#7F2127

#7F2127 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.128 H 21.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7F2127
RGBrgb(127, 33, 39)
HSLhsl(356, 59%, 31%)
HSVhsv(356, 74%, 50%)
CMYKcmyk(0%, 74%, 69.3%, 50.2%)
CIE-LABlab(28.77, 40.41, 20.19)
CIE-LCHlch(28.77, 45.17, 26.55°)
OKLaboklab(40.16% 0.119 0.0475)
OKLCHoklch(40.16% 0.128 21.8)
XYZxyz(9.6635, 5.7476, 2.5196)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2127 #217F79
analogous
#7F2156 #7F2127 #7F4A21
triadic
#7F2127 #277F21 #21277F
tetradic
#7F2127 #567F21 #217F79 #4A217F
square
#7F2127 #567F21 #217F79 #4A217F
split-complementary
#7F2127 #217F4A #21567F
monochromatic
#1E0809 #4E1418 #7F2127 #B02E36 #D04A53

Accessibility & contrast

On white

9.77
#7F2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2127
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2127#FFFFFF#000000##FFFFFF
##7F21271.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#8C0224
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2127;
/* rgb */ color: rgb(127, 33, 39);
/* oklch */ color: oklch(40.2% 0.128 21.8);
Tailwind
colors: {
  custom: {
    50: '#ab6461',
    500: '#7f2127',
    950: '#000000',
  },
}
SCSS
$custom: #7f2127;
$custom-light: #ab6461;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2127",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 356.17,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.1281,
    "h": 21.8
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#7F2127
secondary
#4AB2AB
accent
#E2D846
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2127

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

Preview Lab → · Contrast checker → · Palette generator →

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