#7E1532#7E1532

#7E1532 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 11.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7E1532
RGBrgb(126, 21, 50)
HSLhsl(343, 71%, 29%)
HSVhsv(343, 83%, 49%)
CMYKcmyk(0%, 83.3%, 60.3%, 50.6%)
CIE-LABlab(27.31, 44.96, 10.93)
CIE-LCHlch(27.31, 46.27, 13.67°)
OKLaboklab(39.11% 0.136 0.0272)
OKLCHoklch(39.11% 0.139 11.3)
XYZxyz(9.4490, 5.2036, 3.5239)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1532 #157E61
analogous
#7E1567 #7E1532 #7E2D15
triadic
#7E1532 #327E15 #15327E
tetradic
#7E1532 #677E15 #157E61 #2D157E
square
#7E1532 #677E15 #157E61 #2D157E
split-complementary
#7E1532 #157E2D #15677E
monochromatic
#1A040A #4A0C1D #7E1532 #B21E47 #DD3160

Accessibility & contrast

On white

10.29
#7E1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1532
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1532#FFFFFF#000000##FFFFFF
##7E15321.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333332
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1532;
/* rgb */ color: rgb(126, 21, 50);
/* oklch */ color: oklch(39.1% 0.139 11.3);
Tailwind
colors: {
  custom: {
    50: '#aa5f69',
    500: '#7e1532',
    950: '#000000',
  },
}
SCSS
$custom: #7e1532;
$custom-light: #aa5f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1532",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 343.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.13871,
    "h": 11.3
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7E1532
secondary
#3CB392
accent
#EEBC3A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1532

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

Preview Lab → · Contrast checker → · Palette generator →

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