#7E1D58#7E1D58

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

Color values

HEX#7E1D58
RGBrgb(126, 29, 88)
HSLhsl(324, 63%, 30%)
HSVhsv(324, 77%, 49%)
CMYKcmyk(0%, 77%, 30.2%, 50.6%)
CIE-LABlab(29.46, 46.26, -11.32)
CIE-LCHlch(29.46, 47.62, 346.25°)
OKLaboklab(41.1% 0.141 -0.0298)
OKLCHoklch(41.1% 0.144 348.1)
XYZxyz(10.8055, 6.0201, 9.8236)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D58 #1D7E43
analogous
#731D7E #7E1D58 #7E1D27
triadic
#7E1D58 #587E1D #1D587E
tetradic
#7E1D58 #7E731D #1D7E43 #1D277E
square
#7E1D58 #7E731D #1D7E43 #1D277E
split-complementary
#7E1D58 #277E1D #1D7E73
monochromatic
#1B0613 #4C1235 #7E1D58 #B0287B #D3429A

Accessibility & contrast

On white

9.53
#7E1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D58
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D58#FFFFFF#000000##FFFFFF
##7E1D581.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#484C56
Tritanopia (blue-blind)
#871938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d58;
/* rgb */ color: rgb(126, 29, 88);
/* oklch */ color: oklch(41.1% 0.144 348.1);
Tailwind
colors: {
  custom: {
    50: '#a76387',
    500: '#7e1d58',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d58;
$custom-light: #a76387;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d58",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 323.505,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.411,
    "c": 0.14406,
    "h": 348.1
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7E1D58
secondary
#45B170
accent
#E68242
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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