#7E1847#7E1847

#7E1847 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.141 H 358.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E1847
RGBrgb(126, 24, 71)
HSLhsl(332, 68%, 29%)
HSVhsv(332, 81%, 49%)
CMYKcmyk(0%, 81%, 43.7%, 50.6%)
CIE-LABlab(28.23, 45.92, -1.90)
CIE-LCHlch(28.23, 45.96, 357.63°)
OKLaboklab(39.99% 0.1412 -0.0044)
OKLCHoklch(39.99% 0.141 358.2)
XYZxyz(10.0689, 5.5451, 6.5001)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1847 #187E4F
analogous
#7E187A #7E1847 #7E1C18
triadic
#7E1847 #477E18 #18477E
tetradic
#7E1847 #7A7E18 #187E4F #1C187E
square
#7E1847 #7A7E18 #187E4F #1C187E
split-complementary
#7E1847 #187E1C #187A7E
monochromatic
#1A050E #4B0E2A #7E1847 #B12264 #D93782

Accessibility & contrast

On white

9.96
#7E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1847
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1847#FFFFFF#000000##FFFFFF
##7E18471.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#89052D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1847;
/* rgb */ color: rgb(126, 24, 71);
/* oklch */ color: oklch(40.0% 0.141 358.2);
Tailwind
colors: {
  custom: {
    50: '#a8617a',
    500: '#7e1847',
    950: '#000000',
  },
}
SCSS
$custom: #7e1847;
$custom-light: #a8617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1847",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 332.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.14126,
    "h": 358.2
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#7E1847
secondary
#3FB27D
accent
#EB9B3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1847

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

Preview Lab → · Contrast checker → · Palette generator →

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