#7E1956#7E1956

#7E1956 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 348.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1956
RGBrgb(126, 25, 86)
HSLhsl(324, 67%, 30%)
HSVhsv(324, 80%, 49%)
CMYKcmyk(0%, 80.2%, 31.7%, 50.6%)
CIE-LABlab(28.91, 47.33, -10.84)
CIE-LCHlch(28.91, 48.55, 347.10°)
OKLaboklab(40.67% 0.1446 -0.0284)
OKLCHoklch(40.67% 0.147 348.9)
XYZxyz(10.6321, 5.8040, 9.3627)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1956 #197E41
analogous
#73197E #7E1956 #7E1924
triadic
#7E1956 #567E19 #19567E
tetradic
#7E1956 #7E7319 #197E41 #19247E
square
#7E1956 #7E7319 #197E41 #19247E
split-complementary
#7E1956 #247E19 #197E73
monochromatic
#1A0511 #4B0F33 #7E1956 #B12379 #D83A99

Accessibility & contrast

On white

9.72
#7E1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1956
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1956#FFFFFF#000000##FFFFFF
##7E19561.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#881335
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1956;
/* rgb */ color: rgb(126, 25, 86);
/* oklch */ color: oklch(40.7% 0.147 348.9);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7e1956',
    950: '#000000',
  },
}
SCSS
$custom: #7e1956;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1956",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 323.762,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.14738,
    "h": 348.9
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7E1956
secondary
#41B26E
accent
#EA823E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1956

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

Preview Lab → · Contrast checker → · Palette generator →

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