#7E1832#7E1832

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

Color values

HEX#7E1832
RGBrgb(126, 24, 50)
HSLhsl(345, 68%, 29%)
HSVhsv(345, 81%, 49%)
CMYKcmyk(0%, 81%, 60.3%, 50.6%)
CIE-LABlab(27.63, 44.04, 11.37)
CIE-LCHlch(27.63, 45.49, 14.47°)
OKLaboklab(39.35% 0.1331 0.0283)
OKLCHoklch(39.35% 0.136 12)
XYZxyz(9.5075, 5.3206, 3.5433)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1832 #187E64
analogous
#7E1865 #7E1832 #7E3118
triadic
#7E1832 #327E18 #18327E
tetradic
#7E1832 #657E18 #187E64 #31187E
square
#7E1832 #657E18 #187E64 #31187E
split-complementary
#7E1832 #187E31 #18657E
monochromatic
#1A050A #4B0E1E #7E1832 #B12246 #D93761

Accessibility & contrast

On white

10.18
#7E1832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1832
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1832#FFFFFF#000000##FFFFFF
##7E18321.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1832;
/* rgb */ color: rgb(126, 24, 50);
/* oklch */ color: oklch(39.3% 0.136 12.0);
Tailwind
colors: {
  custom: {
    50: '#a96069',
    500: '#7e1832',
    950: '#000000',
  },
}
SCSS
$custom: #7e1832;
$custom-light: #a96069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1832",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 344.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.13603,
    "h": 12
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#7E1832
secondary
#3FB295
accent
#EBBF3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1832

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

Preview Lab → · Contrast checker → · Palette generator →

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