#7E1F57#7E1F57

#7E1F57 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 348.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1F57
RGBrgb(126, 31, 87)
HSLhsl(325, 61%, 31%)
HSVhsv(325, 75%, 49%)
CMYKcmyk(0%, 75.4%, 31%, 50.6%)
CIE-LABlab(29.68, 45.41, -10.34)
CIE-LCHlch(29.68, 46.57, 347.17°)
OKLaboklab(41.24% 0.1385 -0.0271)
OKLCHoklch(41.24% 0.141 348.9)
XYZxyz(10.8150, 6.1049, 9.6238)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F57 #1F7E46
analogous
#751F7E #7E1F57 #7E1F27
triadic
#7E1F57 #577E1F #1F577E
tetradic
#7E1F57 #7E751F #1F7E46 #1F277E
square
#7E1F57 #7E751F #1F7E46 #1F277E
split-complementary
#7E1F57 #277E1F #1F7E75
monochromatic
#1C0713 #4D1335 #7E1F57 #AF2B79 #D14698

Accessibility & contrast

On white

9.46
#7E1F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F57
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F57#FFFFFF#000000##FFFFFF
##7E1F571.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1f57;
/* rgb */ color: rgb(126, 31, 87);
/* oklch */ color: oklch(41.2% 0.141 348.9);
Tailwind
colors: {
  custom: {
    50: '#a76486',
    500: '#7e1f57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f57;
$custom-light: #a76486;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f57",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 324.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.1411,
    "h": 348.9
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7E1F57
secondary
#48B173
accent
#E48644
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1F57

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

Preview Lab → · Contrast checker → · Palette generator →

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