#7B1823#7B1823

#7B1823 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.133 H 20.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7B1823
RGBrgb(123, 24, 35)
HSLhsl(353, 67%, 29%)
HSVhsv(353, 80%, 48%)
CMYKcmyk(0%, 80.5%, 71.5%, 51.8%)
CIE-LABlab(26.70, 42.15, 20.07)
CIE-LCHlch(26.70, 46.69, 25.47°)
OKLaboklab(38.45% 0.1242 0.0468)
OKLCHoklch(38.45% 0.133 20.6)
XYZxyz(8.7994, 4.9869, 2.0890)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1823 #187B70
analogous
#7B1855 #7B1823 #7B3F18
triadic
#7B1823 #237B18 #18237B
tetradic
#7B1823 #557B18 #187B70 #3F187B
square
#7B1823 #557B18 #187B70 #3F187B
split-complementary
#7B1823 #187B3F #18557B
monochromatic
#1A0507 #480E14 #7B1823 #AE2232 #D83648

Accessibility & contrast

On white

10.51
#7B1823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1823
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1823#FFFFFF#000000##FFFFFF
##7B18231.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1823;
/* rgb */ color: rgb(123, 24, 35);
/* oklch */ color: oklch(38.4% 0.133 20.6);
Tailwind
colors: {
  custom: {
    50: '#a85f5d',
    500: '#7b1823',
    950: '#000000',
  },
}
SCSS
$custom: #7b1823;
$custom-light: #a85f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1823",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 35
  },
  "hsl": {
    "h": 353.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.13271,
    "h": 20.6
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#7B1823
secondary
#3FB0A3
accent
#EAD73E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B1823

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

Preview Lab → · Contrast checker → · Palette generator →

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