#7B152A#7B152A

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

Color values

HEX#7B152A
RGBrgb(123, 21, 42)
HSLhsl(348, 71%, 28%)
HSVhsv(348, 83%, 48%)
CMYKcmyk(0%, 82.9%, 65.9%, 51.8%)
CIE-LABlab(26.49, 43.51, 15.14)
CIE-LCHlch(26.49, 46.07, 19.19°)
OKLaboklab(38.34% 0.1301 0.0365)
OKLCHoklch(38.34% 0.135 15.7)
XYZxyz(8.8554, 4.9158, 2.6726)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B152A #157B66
analogous
#7B155D #7B152A #7B3315
triadic
#7B152A #2A7B15 #152A7B
tetradic
#7B152A #5D7B15 #157B66 #33157B
square
#7B152A #5D7B15 #157B66 #33157B
split-complementary
#7B152A #157B33 #155D7B
monochromatic
#1A0409 #470C18 #7B152A #AF1E3C #DB2F52

Accessibility & contrast

On white

10.59
#7B152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B152A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B152A#FFFFFF#000000##FFFFFF
##7B152A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b152a;
/* rgb */ color: rgb(123, 21, 42);
/* oklch */ color: oklch(38.3% 0.135 15.7);
Tailwind
colors: {
  custom: {
    50: '#a85e63',
    500: '#7b152a',
    950: '#000000',
  },
}
SCSS
$custom: #7b152a;
$custom-light: #a85e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b152a",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 347.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.13518,
    "h": 15.7
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#7B152A
secondary
#3BB098
accent
#EEC93A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7B152A

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

Preview Lab → · Contrast checker → · Palette generator →

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