#7E1957#7E1957

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

Color values

HEX#7E1957
RGBrgb(126, 25, 87)
HSLhsl(323, 67%, 30%)
HSVhsv(323, 80%, 49%)
CMYKcmyk(0%, 80.2%, 31%, 50.6%)
CIE-LABlab(28.95, 47.45, -11.44)
CIE-LCHlch(28.95, 48.81, 346.45°)
OKLaboklab(40.72% 0.1449 -0.0301)
OKLCHoklch(40.72% 0.148 348.3)
XYZxyz(10.6727, 5.8202, 9.5764)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1957 #197E40
analogous
#72197E #7E1957 #7E1925
triadic
#7E1957 #577E19 #19577E
tetradic
#7E1957 #7E7219 #197E40 #19257E
square
#7E1957 #7E7219 #197E40 #19257E
split-complementary
#7E1957 #257E19 #197E72
monochromatic
#1A0512 #4B0F34 #7E1957 #B1237A #D83A9B

Accessibility & contrast

On white

9.71
#7E1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1957
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1957#FFFFFF#000000##FFFFFF
##7E19571.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#474B55
Tritanopia (blue-blind)
#871436
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1957;
/* rgb */ color: rgb(126, 25, 87);
/* oklch */ color: oklch(40.7% 0.148 348.3);
Tailwind
colors: {
  custom: {
    50: '#a76286',
    500: '#7e1957',
    950: '#000000',
  },
}
SCSS
$custom: #7e1957;
$custom-light: #a76286;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1957",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 323.168,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.14795,
    "h": 348.3
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#7E1957
secondary
#41B26C
accent
#EA803E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1957

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

Preview Lab → · Contrast checker → · Palette generator →

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