#7E1E57#7E1E57

#7E1E57 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 348.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1E57
RGBrgb(126, 30, 87)
HSLhsl(324, 62%, 31%)
HSVhsv(324, 76%, 49%)
CMYKcmyk(0%, 76.2%, 31%, 50.6%)
CIE-LABlab(29.55, 45.77, -10.53)
CIE-LCHlch(29.55, 46.97, 347.04°)
OKLaboklab(41.15% 0.1396 -0.0276)
OKLCHoklch(41.15% 0.142 348.8)
XYZxyz(10.7893, 6.0535, 9.6152)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E57 #1E7E45
analogous
#751E7E #7E1E57 #7E1E27
triadic
#7E1E57 #577E1E #1E577E
tetradic
#7E1E57 #7E751E #1E7E45 #1E277E
square
#7E1E57 #7E751E #1E7E45 #1E277E
split-complementary
#7E1E57 #277E1E #1E7E75
monochromatic
#1B0613 #4D1235 #7E1E57 #AF2A79 #D24499

Accessibility & contrast

On white

9.50
#7E1E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E57
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E57#FFFFFF#000000##FFFFFF
##7E1E571.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#494C55
Tritanopia (blue-blind)
#871938
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e57;
/* rgb */ color: rgb(126, 30, 87);
/* oklch */ color: oklch(41.1% 0.142 348.8);
Tailwind
colors: {
  custom: {
    50: '#a76486',
    500: '#7e1e57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e57;
$custom-light: #a76486;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e57",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 324.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.14231,
    "h": 348.8
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#7E1E57
secondary
#47B172
accent
#E58543
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E57

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

Preview Lab → · Contrast checker → · Palette generator →

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