#7E1B50#7E1B50

#7E1B50 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.142 H 352.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1B50
RGBrgb(126, 27, 80)
HSLhsl(328, 65%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 78.6%, 36.5%, 50.6%)
CIE-LABlab(28.90, 45.95, -6.90)
CIE-LCHlch(28.90, 46.46, 351.47°)
OKLaboklab(40.59% 0.141 -0.0177)
OKLCHoklch(40.59% 0.142 352.8)
XYZxyz(10.4447, 5.7999, 8.1573)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B50 #1B7E49
analogous
#7B1B7E #7E1B50 #7E1B1E
triadic
#7E1B50 #507E1B #1B507E
tetradic
#7E1B50 #7E7B1B #1B7E49 #1B1E7E
square
#7E1B50 #7E7B1B #1B7E49 #1B1E7E
split-complementary
#7E1B50 #1E7E1B #1B7E7B
monochromatic
#190510 #4C1030 #7E1B50 #B02670 #D63E8F

Accessibility & contrast

On white

9.72
#7E1B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B50
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B50#FFFFFF#000000##FFFFFF
##7E1B501.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3951
Deuteranopia (green-blind)
#4A4B4E
Tritanopia (blue-blind)
#881133
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1b50;
/* rgb */ color: rgb(126, 27, 80);
/* oklch */ color: oklch(40.6% 0.142 352.8);
Tailwind
colors: {
  custom: {
    50: '#a86281',
    500: '#7e1b50',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b50;
$custom-light: #a86281;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b50",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 327.879,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.14206,
    "h": 352.8
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#7E1B50
secondary
#43B276
accent
#E88E40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1B50

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

Preview Lab → · Contrast checker → · Palette generator →

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