#7E1954#7E1954

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

Color values

HEX#7E1954
RGBrgb(126, 25, 84)
HSLhsl(325, 67%, 30%)
HSVhsv(325, 80%, 49%)
CMYKcmyk(0%, 80.2%, 33.3%, 50.6%)
CIE-LABlab(28.83, 47.08, -9.65)
CIE-LCHlch(28.83, 48.06, 348.42°)
OKLaboklab(40.59% 0.1441 -0.0252)
OKLCHoklch(40.59% 0.146 350.1)
XYZxyz(10.5526, 5.7722, 8.9442)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1954 #197E43
analogous
#75197E #7E1954 #7E1922
triadic
#7E1954 #547E19 #19547E
tetradic
#7E1954 #7E7519 #197E43 #19227E
square
#7E1954 #7E7519 #197E43 #19227E
split-complementary
#7E1954 #227E19 #197E75
monochromatic
#1A0511 #4B0F32 #7E1954 #B12376 #D83A96

Accessibility & contrast

On white

9.75
#7E1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1954
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1954#FFFFFF#000000##FFFFFF
##7E19541.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#881134
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1954;
/* rgb */ color: rgb(126, 25, 84);
/* oklch */ color: oklch(40.6% 0.146 350.1);
Tailwind
colors: {
  custom: {
    50: '#a76284',
    500: '#7e1954',
    950: '#000000',
  },
}
SCSS
$custom: #7e1954;
$custom-light: #a76284;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1954",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 324.95,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.14629,
    "h": 350.1
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#7E1954
secondary
#41B270
accent
#EA853E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1954

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

Preview Lab → · Contrast checker → · Palette generator →

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