#7C1830#7C1830

#7C1830 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.134 H 12.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7C1830
RGBrgb(124, 24, 48)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 49%)
CMYKcmyk(0%, 80.6%, 61.3%, 51.4%)
CIE-LABlab(27.17, 43.29, 12.02)
CIE-LCHlch(27.17, 44.92, 15.52°)
OKLaboklab(38.92% 0.1305 0.0297)
OKLCHoklch(38.92% 0.134 12.8)
XYZxyz(9.1732, 5.1531, 3.3074)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1830 #187C64
analogous
#7C1862 #7C1830 #7C3218
triadic
#7C1830 #307C18 #18307C
tetradic
#7C1830 #627C18 #187C64 #32187C
square
#7C1830 #627C18 #187C64 #32187C
split-complementary
#7C1830 #187C32 #18627C
monochromatic
#1A050A #490E1C #7C1830 #AF2244 #D8365D

Accessibility & contrast

On white

10.34
#7C1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1830
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1830#FFFFFF#000000##FFFFFF
##7C18301.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1830;
/* rgb */ color: rgb(124, 24, 48);
/* oklch */ color: oklch(38.9% 0.134 12.8);
Tailwind
colors: {
  custom: {
    50: '#a86068',
    500: '#7c1830',
    950: '#000000',
  },
}
SCSS
$custom: #7c1830;
$custom-light: #a86068;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1830",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 345.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.13386,
    "h": 12.8
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7C1830
secondary
#3FB195
accent
#EAC13D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1830

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

Preview Lab → · Contrast checker → · Palette generator →

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