#7D182F#7D182F

#7D182F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.135 H 13.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7D182F
RGBrgb(125, 24, 47)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 49%)
CMYKcmyk(0%, 80.8%, 62.4%, 51%)
CIE-LABlab(27.35, 43.52, 12.98)
CIE-LCHlch(27.35, 45.42, 16.61°)
OKLaboklab(39.08% 0.131 0.0319)
OKLCHoklch(39.08% 0.135 13.7)
XYZxyz(9.2981, 5.2199, 3.2067)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D182F #187D66
analogous
#7D1862 #7D182F #7D3418
triadic
#7D182F #2F7D18 #182F7D
tetradic
#7D182F #627D18 #187D66 #34187D
square
#7D182F #627D18 #187D66 #34187D
split-complementary
#7D182F #187D34 #18627D
monochromatic
#1A050A #4A0E1C #7D182F #B02242 #D9375C

Accessibility & contrast

On white

10.28
#7D182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D182F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D182F#FFFFFF#000000##FFFFFF
##7D182F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#890022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d182f;
/* rgb */ color: rgb(125, 24, 47);
/* oklch */ color: oklch(39.1% 0.135 13.7);
Tailwind
colors: {
  custom: {
    50: '#a96067',
    500: '#7d182f',
    950: '#000000',
  },
}
SCSS
$custom: #7d182f;
$custom-light: #a96067;
$custom-dark: #000000;
JSON
{
  "hex": "#7d182f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 346.337,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.13478,
    "h": 13.7
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#7D182F
secondary
#3FB298
accent
#EBC33D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D182F

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

Preview Lab → · Contrast checker → · Palette generator →

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