#7A152D#7A152D

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

Color values

HEX#7A152D
RGBrgb(122, 21, 45)
HSLhsl(346, 71%, 28%)
HSVhsv(346, 83%, 48%)
CMYKcmyk(0%, 82.8%, 63.1%, 52.2%)
CIE-LABlab(26.35, 43.40, 12.88)
CIE-LCHlch(26.35, 45.27, 16.52°)
OKLaboklab(38.21% 0.1306 0.0316)
OKLCHoklch(38.21% 0.134 13.6)
XYZxyz(8.7688, 4.8647, 2.9594)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A152D #157A62
analogous
#7A155F #7A152D #7A3015
triadic
#7A152D #2D7A15 #152D7A
tetradic
#7A152D #5F7A15 #157A62 #30157A
square
#7A152D #5F7A15 #157A62 #30157A
split-complementary
#7A152D #157A30 #155F7A
monochromatic
#1A040A #460C1A #7A152D #AE1E40 #DB2E57

Accessibility & contrast

On white

10.65
#7A152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A152D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A152D#FFFFFF#000000##FFFFFF
##7A152D1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a152d;
/* rgb */ color: rgb(122, 21, 45);
/* oklch */ color: oklch(38.2% 0.134 13.6);
Tailwind
colors: {
  custom: {
    50: '#a75e65',
    500: '#7a152d',
    950: '#000000',
  },
}
SCSS
$custom: #7a152d;
$custom-light: #a75e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a152d",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 345.743,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.13435,
    "h": 13.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#7A152D
secondary
#3BAF94
accent
#EDC33A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A152D

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

Preview Lab → · Contrast checker → · Palette generator →

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