#7A1527#7A1527

#7A1527 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.134 H 17.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#7A1527
RGBrgb(122, 21, 39)
HSLhsl(349, 71%, 28%)
HSVhsv(349, 83%, 48%)
CMYKcmyk(0%, 82.8%, 68%, 52.2%)
CIE-LABlab(26.22, 43.02, 16.77)
CIE-LCHlch(26.22, 46.17, 21.29°)
OKLaboklab(38.08% 0.1281 0.04)
OKLCHoklch(38.08% 0.134 17.3)
XYZxyz(8.6614, 4.8217, 2.3937)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1527 #157A68
analogous
#7A1559 #7A1527 #7A3515
triadic
#7A1527 #277A15 #15277A
tetradic
#7A1527 #597A15 #157A68 #35157A
square
#7A1527 #597A15 #157A68 #35157A
split-complementary
#7A1527 #157A35 #15597A
monochromatic
#1A0408 #460C16 #7A1527 #AE1E38 #DB2E4D

Accessibility & contrast

On white

10.69
#7A1527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#7A1527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1527
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1527#FFFFFF#000000##FFFFFF
##7A15271.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333127
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#86001D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1527;
/* rgb */ color: rgb(122, 21, 39);
/* oklch */ color: oklch(38.1% 0.134 17.3);
Tailwind
colors: {
  custom: {
    50: '#a75e60',
    500: '#7a1527',
    950: '#000000',
  },
}
SCSS
$custom: #7a1527;
$custom-light: #a75e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1527",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 349.307,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.13414,
    "h": 17.3
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#7A1527
secondary
#3BAF9B
accent
#EDCD3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1527

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

Preview Lab → · Contrast checker → · Palette generator →

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