#7B152B#7B152B

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

Color values

HEX#7B152B
RGBrgb(123, 21, 43)
HSLhsl(347, 71%, 28%)
HSVhsv(347, 83%, 48%)
CMYKcmyk(0%, 82.9%, 65%, 51.8%)
CIE-LABlab(26.51, 43.57, 14.49)
CIE-LCHlch(26.51, 45.92, 18.40°)
OKLaboklab(38.36% 0.1306 0.0351)
OKLCHoklch(38.36% 0.135 15.1)
XYZxyz(8.8735, 4.9231, 2.7680)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B152B #157B65
analogous
#7B155E #7B152B #7B3215
triadic
#7B152B #2B7B15 #152B7B
tetradic
#7B152B #5E7B15 #157B65 #32157B
square
#7B152B #5E7B15 #157B65 #32157B
split-complementary
#7B152B #157B32 #155E7B
monochromatic
#1A0409 #470C19 #7B152B #AF1E3D #DB2F54

Accessibility & contrast

On white

10.58
#7B152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B152B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B152B#FFFFFF#000000##FFFFFF
##7B152B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4D4628
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b152b;
/* rgb */ color: rgb(123, 21, 43);
/* oklch */ color: oklch(38.4% 0.135 15.1);
Tailwind
colors: {
  custom: {
    50: '#a85e64',
    500: '#7b152b',
    950: '#000000',
  },
}
SCSS
$custom: #7b152b;
$custom-light: #a85e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b152b",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 347.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.13523,
    "h": 15.1
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#7B152B
secondary
#3BB097
accent
#EEC73A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7B152B

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

Preview Lab → · Contrast checker → · Palette generator →

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