#7A1827#7A1827

#7A1827 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.132 H 18.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7A1827
RGBrgb(122, 24, 39)
HSLhsl(351, 67%, 29%)
HSVhsv(351, 80%, 48%)
CMYKcmyk(0%, 80.3%, 68%, 52.2%)
CIE-LABlab(26.56, 42.06, 17.20)
CIE-LCHlch(26.56, 45.44, 22.24°)
OKLaboklab(38.33% 0.125 0.0409)
OKLCHoklch(38.33% 0.132 18.1)
XYZxyz(8.7198, 4.9387, 2.4132)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1827 #187A6B
analogous
#7A1858 #7A1827 #7A3A18
triadic
#7A1827 #277A18 #18277A
tetradic
#7A1827 #587A18 #187A6B #3A187A
square
#7A1827 #587A18 #187A6B #3A187A
split-complementary
#7A1827 #187A3A #18587A
monochromatic
#1A0508 #470E17 #7A1827 #AD2237 #D7354E

Accessibility & contrast

On white

10.57
#7A1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1827
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1827#FFFFFF#000000##FFFFFF
##7A18271.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#86001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1827;
/* rgb */ color: rgb(122, 24, 39);
/* oklch */ color: oklch(38.3% 0.132 18.1);
Tailwind
colors: {
  custom: {
    50: '#a75f60',
    500: '#7a1827',
    950: '#000000',
  },
}
SCSS
$custom: #7a1827;
$custom-light: #a75f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1827",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 350.816,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.13151,
    "h": 18.1
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#7A1827
secondary
#3FAF9E
accent
#EAD03E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1827

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

Preview Lab → · Contrast checker → · Palette generator →

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