#7E152D#7E152D

#7E152D is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 14.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E152D
RGBrgb(126, 21, 45)
HSLhsl(346, 71%, 29%)
HSVhsv(346, 83%, 49%)
CMYKcmyk(0%, 83.3%, 64.3%, 50.6%)
CIE-LABlab(27.19, 44.61, 14.16)
CIE-LCHlch(27.19, 46.80, 17.61°)
OKLaboklab(38.99% 0.1339 0.0345)
OKLCHoklch(38.99% 0.138 14.4)
XYZxyz(9.3470, 5.1628, 2.9865)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E152D #157E66
analogous
#7E1562 #7E152D #7E3215
triadic
#7E152D #2D7E15 #152D7E
tetradic
#7E152D #627E15 #157E66 #32157E
square
#7E152D #627E15 #157E66 #32157E
split-complementary
#7E152D #157E32 #15627E
monochromatic
#1A0409 #4A0C1A #7E152D #B21E40 #DD3158

Accessibility & contrast

On white

10.33
#7E152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E152D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E152D#FFFFFF#000000##FFFFFF
##7E152D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322D
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e152d;
/* rgb */ color: rgb(126, 21, 45);
/* oklch */ color: oklch(39.0% 0.138 14.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f65',
    500: '#7e152d',
    950: '#000000',
  },
}
SCSS
$custom: #7e152d;
$custom-light: #aa5f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e152d",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 346.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38991,
    "c": 0.13827,
    "h": 14.4
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#7E152D
secondary
#3CB398
accent
#EEC53A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E152D

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

Preview Lab → · Contrast checker → · Palette generator →

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