#7E1F59#7E1F59

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

Color values

HEX#7E1F59
RGBrgb(126, 31, 89)
HSLhsl(323, 61%, 31%)
HSVhsv(323, 75%, 49%)
CMYKcmyk(0%, 75.4%, 29.4%, 50.6%)
CIE-LABlab(29.76, 45.67, -11.52)
CIE-LCHlch(29.76, 47.10, 345.84°)
OKLaboklab(41.33% 0.139 -0.0304)
OKLCHoklch(41.33% 0.142 347.7)
XYZxyz(10.8979, 6.1381, 10.0601)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F59 #1F7E44
analogous
#731F7E #7E1F59 #7E1F29
triadic
#7E1F59 #597E1F #1F597E
tetradic
#7E1F59 #7E731F #1F7E44 #1F297E
square
#7E1F59 #7E731F #1F7E44 #1F297E
split-complementary
#7E1F59 #297E1F #1F7E73
monochromatic
#1C0714 #4D1336 #7E1F59 #AF2B7C #D1469B

Accessibility & contrast

On white

9.43
#7E1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F59
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F59#FFFFFF#000000##FFFFFF
##7E1F591.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#871B39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1f59;
/* rgb */ color: rgb(126, 31, 89);
/* oklch */ color: oklch(41.3% 0.142 347.7);
Tailwind
colors: {
  custom: {
    50: '#a76488',
    500: '#7e1f59',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f59;
$custom-light: #a76488;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f59",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 323.368,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.14225,
    "h": 347.7
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#7E1F59
secondary
#48B171
accent
#E48244
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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