#7E1D57#7E1D57

#7E1D57 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.143 H 348.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1D57
RGBrgb(126, 29, 87)
HSLhsl(324, 63%, 30%)
HSVhsv(324, 77%, 49%)
CMYKcmyk(0%, 77%, 31%, 50.6%)
CIE-LABlab(29.42, 46.13, -10.72)
CIE-LCHlch(29.42, 47.36, 346.91°)
OKLaboklab(41.06% 0.1407 -0.0281)
OKLCHoklch(41.06% 0.143 348.7)
XYZxyz(10.7644, 6.0037, 9.6069)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D57 #1D7E44
analogous
#751D7E #7E1D57 #7E1D26
triadic
#7E1D57 #577E1D #1D577E
tetradic
#7E1D57 #7E751D #1D7E44 #1D267E
square
#7E1D57 #7E751D #1D7E44 #1D267E
split-complementary
#7E1D57 #267E1D #1D7E75
monochromatic
#1B0612 #4C1235 #7E1D57 #B02879 #D34299

Accessibility & contrast

On white

9.54
#7E1D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D57
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D57#FFFFFF#000000##FFFFFF
##7E1D571.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A59
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#871837
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d57;
/* rgb */ color: rgb(126, 29, 87);
/* oklch */ color: oklch(41.1% 0.143 348.7);
Tailwind
colors: {
  custom: {
    50: '#a76386',
    500: '#7e1d57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d57;
$custom-light: #a76386;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d57",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 324.124,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.14349,
    "h": 348.7
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#7E1D57
secondary
#45B171
accent
#E68442
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D57

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

Preview Lab → · Contrast checker → · Palette generator →

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