#7D1B23#7D1B23

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

Color values

HEX#7D1B23
RGBrgb(125, 27, 35)
HSLhsl(355, 64%, 30%)
HSVhsv(355, 78%, 49%)
CMYKcmyk(0%, 78.4%, 72%, 51%)
CIE-LABlab(27.48, 41.77, 21.13)
CIE-LCHlch(27.48, 46.81, 26.83°)
OKLaboklab(39.11% 0.1227 0.049)
OKLCHoklch(39.11% 0.132 21.8)
XYZxyz(9.1538, 5.2666, 2.1243)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B23 #1B7D75
analogous
#7D1B54 #7D1B23 #7D441B
triadic
#7D1B23 #237D1B #1B237D
tetradic
#7D1B23 #547D1B #1B7D75 #441B7D
square
#7D1B23 #547D1B #1B7D75 #441B7D
split-complementary
#7D1B23 #1B7D44 #1B547D
monochromatic
#190507 #4B1015 #7D1B23 #AF2631 #D53D4A

Accessibility & contrast

On white

10.23
#7D1B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B23
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B23#FFFFFF#000000##FFFFFF
##7D1B231.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383422
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1b23;
/* rgb */ color: rgb(125, 27, 35);
/* oklch */ color: oklch(39.1% 0.132 21.8);
Tailwind
colors: {
  custom: {
    50: '#aa615d',
    500: '#7d1b23',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b23;
$custom-light: #aa615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b23",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 355.102,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.13212,
    "h": 21.8
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#7D1B23
secondary
#43B1A8
accent
#E7DA40
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1B23

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

Preview Lab → · Contrast checker → · Palette generator →

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