#7E1846#7E1846

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

Color values

HEX#7E1846
RGBrgb(126, 24, 70)
HSLhsl(333, 68%, 29%)
HSVhsv(333, 81%, 49%)
CMYKcmyk(0%, 81%, 44.4%, 50.6%)
CIE-LABlab(28.20, 45.81, -1.28)
CIE-LCHlch(28.20, 45.83, 358.40°)
OKLaboklab(39.96% 0.1409 -0.0028)
OKLCHoklch(39.96% 0.141 358.9)
XYZxyz(10.0371, 5.5324, 6.3325)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1846 #187E50
analogous
#7E1879 #7E1846 #7E1D18
triadic
#7E1846 #467E18 #18467E
tetradic
#7E1846 #797E18 #187E50 #1D187E
square
#7E1846 #797E18 #187E50 #1D187E
split-complementary
#7E1846 #187E1D #18797E
monochromatic
#1A050E #4B0E29 #7E1846 #B12263 #D93780

Accessibility & contrast

On white

9.97
#7E1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1846
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1846#FFFFFF#000000##FFFFFF
##7E18461.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#89042D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1846;
/* rgb */ color: rgb(126, 24, 70);
/* oklch */ color: oklch(40.0% 0.141 358.9);
Tailwind
colors: {
  custom: {
    50: '#a86179',
    500: '#7e1846',
    950: '#000000',
  },
}
SCSS
$custom: #7e1846;
$custom-light: #a86179;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1846",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 332.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.14088,
    "h": 358.9
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#7E1846
secondary
#3FB27F
accent
#EB9C3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1846

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

Preview Lab → · Contrast checker → · Palette generator →

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