#7B1D33#7B1D33

#7B1D33 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.128 H 12.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7B1D33
RGBrgb(123, 29, 51)
HSLhsl(346, 62%, 30%)
HSVhsv(346, 76%, 48%)
CMYKcmyk(0%, 76.4%, 58.5%, 51.8%)
CIE-LABlab(27.66, 41.46, 10.63)
CIE-LCHlch(27.66, 42.80, 14.38°)
OKLaboklab(39.26% 0.1253 0.0266)
OKLCHoklch(39.26% 0.128 12)
XYZxyz(9.2062, 5.3300, 3.6753)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D33 #1D7B65
analogous
#7B1D62 #7B1D33 #7B361D
triadic
#7B1D33 #337B1D #1D337B
tetradic
#7B1D33 #627B1D #1D7B65 #361D7B
square
#7B1D33 #627B1D #1D7B65 #361D7B
split-complementary
#7B1D33 #1D7B36 #1D627B
monochromatic
#19060A #49111E #7B1D33 #AD2948 #D24062

Accessibility & contrast

On white

10.17
#7B1D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D33
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D33#FFFFFF#000000##FFFFFF
##7B1D331.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363533
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#870326
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d33;
/* rgb */ color: rgb(123, 29, 51);
/* oklch */ color: oklch(39.3% 0.128 12.0);
Tailwind
colors: {
  custom: {
    50: '#a7626a',
    500: '#7b1d33',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d33;
$custom-light: #a7626a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d33",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 51
  },
  "hsl": {
    "h": 345.957,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.12808,
    "h": 12
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#7B1D33
secondary
#45AF96
accent
#E5BF43
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #7B1D33

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

Preview Lab → · Contrast checker → · Palette generator →

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