#7B152D#7B152D

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

Color values

HEX#7B152D
RGBrgb(123, 21, 45)
HSLhsl(346, 71%, 28%)
HSVhsv(346, 83%, 48%)
CMYKcmyk(0%, 82.9%, 63.4%, 51.8%)
CIE-LABlab(26.56, 43.71, 13.20)
CIE-LCHlch(26.56, 45.65, 16.80°)
OKLaboklab(38.41% 0.1314 0.0323)
OKLCHoklch(38.41% 0.135 13.8)
XYZxyz(8.9111, 4.9381, 2.9660)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B152D #157B63
analogous
#7B1560 #7B152D #7B3015
triadic
#7B152D #2D7B15 #152D7B
tetradic
#7B152D #607B15 #157B63 #30157B
square
#7B152D #607B15 #157B63 #30157B
split-complementary
#7B152D #157B30 #15607B
monochromatic
#1A040A #470C1A #7B152D #AF1E40 #DB2F58

Accessibility & contrast

On white

10.57
#7B152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B152D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B152D#FFFFFF#000000##FFFFFF
##7B152D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312D
Deuteranopia (green-blind)
#4C462A
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b152d;
/* rgb */ color: rgb(123, 21, 45);
/* oklch */ color: oklch(38.4% 0.135 13.8);
Tailwind
colors: {
  custom: {
    50: '#a85e65',
    500: '#7b152d',
    950: '#000000',
  },
}
SCSS
$custom: #7b152d;
$custom-light: #a85e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b152d",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 345.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.13534,
    "h": 13.8
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#7B152D
secondary
#3BB095
accent
#EEC33A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B152D

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

Preview Lab → · Contrast checker → · Palette generator →

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