#7B1527#7B1527

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

Color values

HEX#7B1527
RGBrgb(123, 21, 39)
HSLhsl(349, 71%, 28%)
HSVhsv(349, 83%, 48%)
CMYKcmyk(0%, 82.9%, 68.3%, 51.8%)
CIE-LABlab(26.43, 43.32, 17.08)
CIE-LCHlch(26.43, 46.57, 21.52°)
OKLaboklab(38.28% 0.1289 0.0406)
OKLCHoklch(38.28% 0.135 17.5)
XYZxyz(8.8037, 4.8951, 2.4004)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1527 #157B69
analogous
#7B155A #7B1527 #7B3615
triadic
#7B1527 #277B15 #15277B
tetradic
#7B1527 #5A7B15 #157B69 #36157B
square
#7B1527 #5A7B15 #157B69 #36157B
split-complementary
#7B1527 #157B36 #155A7B
monochromatic
#1A0408 #470C16 #7B1527 #AF1E38 #DB2F4D

Accessibility & contrast

On white

10.61
#7B1527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1527
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1527#FFFFFF#000000##FFFFFF
##7B15271.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1527;
/* rgb */ color: rgb(123, 21, 39);
/* oklch */ color: oklch(38.3% 0.135 17.5);
Tailwind
colors: {
  custom: {
    50: '#a85e60',
    500: '#7b1527',
    950: '#000000',
  },
}
SCSS
$custom: #7b1527;
$custom-light: #a85e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1527",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 349.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.13515,
    "h": 17.5
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#7B1527
secondary
#3BB09C
accent
#EECE3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1527

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

Preview Lab → · Contrast checker → · Palette generator →

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