#7A152E#7A152E

#7A152E is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.134 H 13.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7A152E
RGBrgb(122, 21, 46)
HSLhsl(345, 71%, 28%)
HSVhsv(345, 83%, 48%)
CMYKcmyk(0%, 82.8%, 62.3%, 52.2%)
CIE-LABlab(26.37, 43.47, 12.23)
CIE-LCHlch(26.37, 45.16, 15.71°)
OKLaboklab(38.24% 0.131 0.0301)
OKLCHoklch(38.24% 0.134 13)
XYZxyz(8.7883, 4.8725, 3.0620)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A152E #157A61
analogous
#7A1560 #7A152E #7A2F15
triadic
#7A152E #2E7A15 #152E7A
tetradic
#7A152E #607A15 #157A61 #2F157A
square
#7A152E #607A15 #157A61 #2F157A
split-complementary
#7A152E #157A2F #15607A
monochromatic
#1A040A #460C1A #7A152E #AE1E42 #DB2E59

Accessibility & contrast

On white

10.64
#7A152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A152E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A152E#FFFFFF#000000##FFFFFF
##7A152E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312E
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a152e;
/* rgb */ color: rgb(122, 21, 46);
/* oklch */ color: oklch(38.2% 0.134 13.0);
Tailwind
colors: {
  custom: {
    50: '#a75e66',
    500: '#7a152e',
    950: '#000000',
  },
}
SCSS
$custom: #7a152e;
$custom-light: #a75e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a152e",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 345.149,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.13444,
    "h": 13
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#7A152E
secondary
#3BAF93
accent
#EDC13A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A152E

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

Preview Lab → · Contrast checker → · Palette generator →

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