#7A152B#7A152B

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

Color values

HEX#7A152B
RGBrgb(122, 21, 43)
HSLhsl(347, 71%, 28%)
HSVhsv(347, 83%, 48%)
CMYKcmyk(0%, 82.8%, 64.8%, 52.2%)
CIE-LABlab(26.30, 43.27, 14.17)
CIE-LCHlch(26.30, 45.53, 18.14°)
OKLaboklab(38.17% 0.1297 0.0344)
OKLCHoklch(38.17% 0.134 14.9)
XYZxyz(8.7312, 4.8496, 2.7614)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A152B #157A64
analogous
#7A155D #7A152B #7A3215
triadic
#7A152B #2B7A15 #152B7A
tetradic
#7A152B #5D7A15 #157A64 #32157A
square
#7A152B #5D7A15 #157A64 #32157A
split-complementary
#7A152B #157A32 #155D7A
monochromatic
#1A0409 #460C19 #7A152B #AE1E3D #DB2E54

Accessibility & contrast

On white

10.66
#7A152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A152B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A152B#FFFFFF#000000##FFFFFF
##7A152B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4C4628
Tritanopia (blue-blind)
#86001F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a152b;
/* rgb */ color: rgb(122, 21, 43);
/* oklch */ color: oklch(38.2% 0.134 14.9);
Tailwind
colors: {
  custom: {
    50: '#a75e64',
    500: '#7a152b',
    950: '#000000',
  },
}
SCSS
$custom: #7a152b;
$custom-light: #a75e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a152b",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 346.931,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38167,
    "c": 0.13423,
    "h": 14.9
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#7A152B
secondary
#3BAF96
accent
#EDC63A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7A152B

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

Preview Lab → · Contrast checker → · Palette generator →

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