#7A2127#7A2127

#7A2127 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.123 H 21.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7A2127
RGBrgb(122, 33, 39)
HSLhsl(356, 57%, 30%)
HSVhsv(356, 73%, 48%)
CMYKcmyk(0%, 73%, 68%, 52.2%)
CIE-LABlab(27.77, 38.69, 18.73)
CIE-LCHlch(27.77, 42.99, 25.84°)
OKLaboklab(39.23% 0.1142 0.0444)
OKLCHoklch(39.23% 0.123 21.2)
XYZxyz(8.9370, 5.3731, 2.4856)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2127 #217A74
analogous
#7A2153 #7A2127 #7A4721
triadic
#7A2127 #277A21 #21277A
tetradic
#7A2127 #537A21 #217A74 #47217A
square
#7A2127 #537A21 #217A74 #47217A
split-complementary
#7A2127 #217A47 #21537A
monochromatic
#1A0708 #4A1418 #7A2127 #AA2E36 #CD4851

Accessibility & contrast

On white

10.12
#7A2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7A2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2127
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2127#FFFFFF#000000##FFFFFF
##7A21271.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393627
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#860624
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2127;
/* rgb */ color: rgb(122, 33, 39);
/* oklch */ color: oklch(39.2% 0.123 21.2);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7a2127',
    950: '#000000',
  },
}
SCSS
$custom: #7a2127;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2127",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 355.955,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.12254,
    "h": 21.2
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#7A2127
secondary
#4AADA6
accent
#E1D647
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7A2127

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

Preview Lab → · Contrast checker → · Palette generator →

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