#7E1757#7E1757

#7E1757 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.150 H 348.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1757
RGBrgb(126, 23, 87)
HSLhsl(323, 69%, 29%)
HSVhsv(323, 82%, 49%)
CMYKcmyk(0%, 81.7%, 31%, 50.6%)
CIE-LABlab(28.74, 48.06, -11.76)
CIE-LCHlch(28.74, 49.48, 346.25°)
OKLaboklab(40.56% 0.1468 -0.031)
OKLCHoklch(40.56% 0.15 348.1)
XYZxyz(10.6314, 5.7378, 9.5626)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1757 #177E3E
analogous
#72177E #7E1757 #7E1724
triadic
#7E1757 #577E17 #17577E
tetradic
#7E1757 #7E7217 #177E3E #17247E
square
#7E1757 #7E7217 #177E3E #17247E
split-complementary
#7E1757 #247E17 #177E72
monochromatic
#1A0512 #4A0E33 #7E1757 #B2207B #DA359C

Accessibility & contrast

On white

9.78
#7E1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1757
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1757#FFFFFF#000000##FFFFFF
##7E17571.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#881135
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1757;
/* rgb */ color: rgb(126, 23, 87);
/* oklch */ color: oklch(40.6% 0.150 348.1);
Tailwind
colors: {
  custom: {
    50: '#a76186',
    500: '#7e1757',
    950: '#000000',
  },
}
SCSS
$custom: #7e1757;
$custom-light: #a76186;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1757",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 322.718,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.14999,
    "h": 348.1
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#7E1757
secondary
#3EB36A
accent
#EC7F3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1757

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

Preview Lab → · Contrast checker → · Palette generator →

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