#7B1529#7B1529

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

Color values

HEX#7B1529
RGBrgb(123, 21, 41)
HSLhsl(348, 71%, 28%)
HSVhsv(348, 83%, 48%)
CMYKcmyk(0%, 82.9%, 66.7%, 51.8%)
CIE-LABlab(26.47, 43.45, 15.79)
CIE-LCHlch(26.47, 46.22, 19.97°)
OKLaboklab(38.32% 0.1297 0.0379)
OKLCHoklch(38.32% 0.135 16.3)
XYZxyz(8.8377, 4.9087, 2.5795)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1529 #157B67
analogous
#7B155C #7B1529 #7B3415
triadic
#7B1529 #297B15 #15297B
tetradic
#7B1529 #5C7B15 #157B67 #34157B
square
#7B1529 #5C7B15 #157B67 #34157B
split-complementary
#7B1529 #157B34 #155C7B
monochromatic
#1A0409 #470C18 #7B1529 #AF1E3A #DB2F51

Accessibility & contrast

On white

10.60
#7B1529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1529
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1529#FFFFFF#000000##FFFFFF
##7B15291.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333129
Deuteranopia (green-blind)
#4D4626
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1529;
/* rgb */ color: rgb(123, 21, 41);
/* oklch */ color: oklch(38.3% 0.135 16.3);
Tailwind
colors: {
  custom: {
    50: '#a85e62',
    500: '#7b1529',
    950: '#000000',
  },
}
SCSS
$custom: #7b1529;
$custom-light: #a85e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1529",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 348.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.13516,
    "h": 16.3
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#7B1529
secondary
#3BB099
accent
#EECA3A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7B1529

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

Preview Lab → · Contrast checker → · Palette generator →

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