#7B1830#7B1830

#7B1830 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.133 H 12.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7B1830
RGBrgb(123, 24, 48)
HSLhsl(345, 67%, 29%)
HSVhsv(345, 80%, 48%)
CMYKcmyk(0%, 80.5%, 61%, 51.8%)
CIE-LABlab(26.96, 42.98, 11.71)
CIE-LCHlch(26.96, 44.54, 15.24°)
OKLaboklab(38.73% 0.1297 0.029)
OKLCHoklch(38.73% 0.133 12.6)
XYZxyz(9.0294, 5.0789, 3.3006)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1830 #187B63
analogous
#7B1862 #7B1830 #7B3218
triadic
#7B1830 #307B18 #18307B
tetradic
#7B1830 #627B18 #187B63 #32187B
square
#7B1830 #627B18 #187B63 #32187B
split-complementary
#7B1830 #187B32 #18627B
monochromatic
#1A050A #480E1C #7B1830 #AE2244 #D8365D

Accessibility & contrast

On white

10.42
#7B1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1830
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1830#FFFFFF#000000##FFFFFF
##7B18301.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343330
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1830;
/* rgb */ color: rgb(123, 24, 48);
/* oklch */ color: oklch(38.7% 0.133 12.6);
Tailwind
colors: {
  custom: {
    50: '#a75f68',
    500: '#7b1830',
    950: '#000000',
  },
}
SCSS
$custom: #7b1830;
$custom-light: #a75f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1830",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 345.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.13286,
    "h": 12.6
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#7B1830
secondary
#3FB094
accent
#EAC03E
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1830

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

Preview Lab → · Contrast checker → · Palette generator →

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