#7E1F50#7E1F50

#7E1F50 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.137 H 353.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E1F50
RGBrgb(126, 31, 80)
HSLhsl(329, 61%, 31%)
HSVhsv(329, 75%, 49%)
CMYKcmyk(0%, 75.4%, 36.5%, 50.6%)
CIE-LABlab(29.40, 44.54, -6.15)
CIE-LCHlch(29.40, 44.96, 352.14°)
OKLaboklab(40.95% 0.1365 -0.0157)
OKLCHoklch(40.95% 0.137 353.4)
XYZxyz(10.5428, 5.9960, 8.1900)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F50 #1F7E4D
analogous
#7C1F7E #7E1F50 #7E1F20
triadic
#7E1F50 #507E1F #1F507E
tetradic
#7E1F50 #7E7C1F #1F7E4D #1F207E
square
#7E1F50 #7E7C1F #1F7E4D #1F207E
split-complementary
#7E1F50 #207E1F #1F7E7C
monochromatic
#1C0712 #4D1331 #7E1F50 #AF2B6F #D1468E

Accessibility & contrast

On white

9.55
#7E1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1F50
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F50#FFFFFF#000000##FFFFFF
##7E1F501.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A51
Deuteranopia (green-blind)
#4B4C4E
Tritanopia (blue-blind)
#881634
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1f50;
/* rgb */ color: rgb(126, 31, 80);
/* oklch */ color: oklch(41.0% 0.137 353.4);
Tailwind
colors: {
  custom: {
    50: '#a76481',
    500: '#7e1f50',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f50;
$custom-light: #a76481;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f50",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 329.053,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.13739,
    "h": 353.4
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#7E1F50
secondary
#48B17B
accent
#E49144
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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