#7E1856#7E1856

#7E1856 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 348.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1856
RGBrgb(126, 24, 86)
HSLhsl(324, 68%, 29%)
HSVhsv(324, 81%, 49%)
CMYKcmyk(0%, 81%, 31.7%, 50.6%)
CIE-LABlab(28.80, 47.64, -11.01)
CIE-LCHlch(28.80, 48.89, 346.99°)
OKLaboklab(40.59% 0.1456 -0.0289)
OKLCHoklch(40.59% 0.148 348.8)
XYZxyz(10.6111, 5.7620, 9.3557)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1856 #187E40
analogous
#73187E #7E1856 #7E1823
triadic
#7E1856 #567E18 #18567E
tetradic
#7E1856 #7E7318 #187E40 #18237E
square
#7E1856 #7E7318 #187E40 #18237E
split-complementary
#7E1856 #237E18 #187E73
monochromatic
#1A0512 #4B0E33 #7E1856 #B12279 #D9379A

Accessibility & contrast

On white

9.76
#7E1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1856
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1856#FFFFFF#000000##FFFFFF
##7E18561.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#881235
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1856;
/* rgb */ color: rgb(126, 24, 86);
/* oklch */ color: oklch(40.6% 0.148 348.8);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7e1856',
    950: '#000000',
  },
}
SCSS
$custom: #7e1856;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1856",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 323.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.14842,
    "h": 348.8
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#7E1856
secondary
#3FB26C
accent
#EB813D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1856

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

Preview Lab → · Contrast checker → · Palette generator →

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