#7D1B2F#7D1B2F

#7D1B2F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.132 H 14.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1B2F
RGBrgb(125, 27, 47)
HSLhsl(348, 64%, 30%)
HSVhsv(348, 78%, 49%)
CMYKcmyk(0%, 78.4%, 62.4%, 51%)
CIE-LABlab(27.71, 42.52, 13.46)
CIE-LCHlch(27.71, 44.60, 17.57°)
OKLaboklab(39.35% 0.1277 0.033)
OKLCHoklch(39.35% 0.132 14.5)
XYZxyz(9.3634, 5.3504, 3.2285)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B2F #1B7D69
analogous
#7D1B60 #7D1B2F #7D381B
triadic
#7D1B2F #2F7D1B #1B2F7D
tetradic
#7D1B2F #607D1B #1B7D69 #381B7D
square
#7D1B2F #607D1B #1B7D69 #381B7D
split-complementary
#7D1B2F #1B7D38 #1B607D
monochromatic
#190509 #4B101C #7D1B2F #AF2642 #D53D5C

Accessibility & contrast

On white

10.15
#7D1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B2F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B2F#FFFFFF#000000##FFFFFF
##7D1B2F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1b2f;
/* rgb */ color: rgb(125, 27, 47);
/* oklch */ color: oklch(39.4% 0.132 14.5);
Tailwind
colors: {
  custom: {
    50: '#a96167',
    500: '#7d1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b2f;
$custom-light: #a96167;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b2f",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.755,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.13191,
    "h": 14.5
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#7D1B2F
secondary
#43B19A
accent
#E7C540
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7D1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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