#7E1F55#7E1F55

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

Color values

HEX#7E1F55
RGBrgb(126, 31, 85)
HSLhsl(326, 61%, 31%)
HSVhsv(326, 75%, 49%)
CMYKcmyk(0%, 75.4%, 32.5%, 50.6%)
CIE-LABlab(29.60, 45.15, -9.15)
CIE-LCHlch(29.60, 46.07, 348.55°)
OKLaboklab(41.16% 0.1379 -0.0238)
OKLCHoklch(41.16% 0.14 350.2)
XYZxyz(10.7344, 6.0727, 9.1994)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F55 #1F7E48
analogous
#771F7E #7E1F55 #7E1F25
triadic
#7E1F55 #557E1F #1F557E
tetradic
#7E1F55 #7E771F #1F7E48 #1F257E
square
#7E1F55 #7E771F #1F7E48 #1F257E
split-complementary
#7E1F55 #257E1F #1F7E77
monochromatic
#1C0713 #4D1334 #7E1F55 #AF2B76 #D14695

Accessibility & contrast

On white

9.48
#7E1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1F55
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F55#FFFFFF#000000##FFFFFF
##7E1F551.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#881937
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1f55;
/* rgb */ color: rgb(126, 31, 85);
/* oklch */ color: oklch(41.2% 0.140 350.2);
Tailwind
colors: {
  custom: {
    50: '#a76484',
    500: '#7e1f55',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f55;
$custom-light: #a76484;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f55",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 325.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.13998,
    "h": 350.2
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#7E1F55
secondary
#48B175
accent
#E48944
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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