#7F2124#7F2124

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

Color values

HEX#7F2124
RGBrgb(127, 33, 36)
HSLhsl(358, 59%, 31%)
HSVhsv(358, 74%, 50%)
CMYKcmyk(0%, 74%, 71.7%, 50.2%)
CIE-LABlab(28.72, 40.23, 22.07)
CIE-LCHlch(28.72, 45.89, 28.74°)
OKLaboklab(40.1% 0.1178 0.0512)
OKLCHoklch(40.1% 0.128 23.5)
XYZxyz(9.6157, 5.7285, 2.2681)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2124 #217F7C
analogous
#7F2153 #7F2124 #7F4D21
triadic
#7F2124 #247F21 #21247F
tetradic
#7F2124 #537F21 #217F7C #4D217F
square
#7F2124 #537F21 #217F7C #4D217F
split-complementary
#7F2124 #217F4D #21537F
monochromatic
#1E0808 #4E1416 #7F2124 #B02E32 #D04A4F

Accessibility & contrast

On white

9.79
#7F2124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2124
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2124#FFFFFF#000000##FFFFFF
##7F21241.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2124;
/* rgb */ color: rgb(127, 33, 36);
/* oklch */ color: oklch(40.1% 0.128 23.5);
Tailwind
colors: {
  custom: {
    50: '#ab645e',
    500: '#7f2124',
    950: '#000000',
  },
}
SCSS
$custom: #7f2124;
$custom-light: #ab645e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2124",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 358.085,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.1284,
    "h": 23.5
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#7F2124
secondary
#4AB2AE
accent
#E2DD46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2124

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

Preview Lab → · Contrast checker → · Palette generator →

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