#7E1D30#7E1D30

#7E1D30 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 14.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E1D30
RGBrgb(126, 29, 48)
HSLhsl(348, 63%, 30%)
HSVhsv(348, 77%, 49%)
CMYKcmyk(0%, 77%, 61.9%, 50.6%)
CIE-LABlab(28.19, 42.19, 13.47)
CIE-LCHlch(28.19, 44.29, 17.71°)
OKLaboklab(39.75% 0.1267 0.0331)
OKLCHoklch(39.75% 0.131 14.6)
XYZxyz(9.5780, 5.5291, 3.3586)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D30 #1D7E6B
analogous
#7E1D61 #7E1D30 #7E3A1D
triadic
#7E1D30 #307E1D #1D307E
tetradic
#7E1D30 #617E1D #1D7E6B #3A1D7E
square
#7E1D30 #617E1D #1D7E6B #3A1D7E
split-complementary
#7E1D30 #1D7E3A #1D617E
monochromatic
#1B060A #4C121D #7E1D30 #B02843 #D3425E

Accessibility & contrast

On white

9.97
#7E1D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D30
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D30#FFFFFF#000000##FFFFFF
##7E1D301.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373630
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d30;
/* rgb */ color: rgb(126, 29, 48);
/* oklch */ color: oklch(39.8% 0.131 14.6);
Tailwind
colors: {
  custom: {
    50: '#a96268',
    500: '#7e1d30',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d30;
$custom-light: #a96268;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d30",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 48
  },
  "hsl": {
    "h": 348.247,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.13097,
    "h": 14.6
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#7E1D30
secondary
#45B19C
accent
#E6C642
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1D30

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

Preview Lab → · Contrast checker → · Palette generator →

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