#7E1732#7E1732

#7E1732 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 11.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1732
RGBrgb(126, 23, 50)
HSLhsl(344, 69%, 29%)
HSVhsv(344, 82%, 49%)
CMYKcmyk(0%, 81.7%, 60.3%, 50.6%)
CIE-LABlab(27.52, 44.36, 11.22)
CIE-LCHlch(27.52, 45.76, 14.19°)
OKLaboklab(39.27% 0.1341 0.0279)
OKLCHoklch(39.27% 0.137 11.8)
XYZxyz(9.4873, 5.2801, 3.5366)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1732 #177E63
analogous
#7E1766 #7E1732 #7E3017
triadic
#7E1732 #327E17 #17327E
tetradic
#7E1732 #667E17 #177E63 #30177E
square
#7E1732 #667E17 #177E63 #30177E
split-complementary
#7E1732 #177E30 #17667E
monochromatic
#1A050A #4A0E1D #7E1732 #B22047 #DA3560

Accessibility & contrast

On white

10.22
#7E1732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1732
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1732#FFFFFF#000000##FFFFFF
##7E17321.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343432
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1732;
/* rgb */ color: rgb(126, 23, 50);
/* oklch */ color: oklch(39.3% 0.137 11.8);
Tailwind
colors: {
  custom: {
    50: '#aa6069',
    500: '#7e1732',
    950: '#000000',
  },
}
SCSS
$custom: #7e1732;
$custom-light: #aa6069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1732",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 344.272,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.13694,
    "h": 11.8
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7E1732
secondary
#3EB394
accent
#ECBE3C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1732

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

Preview Lab → · Contrast checker → · Palette generator →

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