#7E1950#7E1950

#7E1950 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.144 H 352.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7E1950
RGBrgb(126, 25, 80)
HSLhsl(327, 67%, 30%)
HSVhsv(327, 80%, 49%)
CMYKcmyk(0%, 80.2%, 36.5%, 50.6%)
CIE-LABlab(28.67, 46.60, -7.24)
CIE-LCHlch(28.67, 47.16, 351.17°)
OKLaboklab(40.42% 0.143 -0.0186)
OKLCHoklch(40.42% 0.144 352.6)
XYZxyz(10.4004, 5.7113, 8.1426)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1950 #197E47
analogous
#7A197E #7E1950 #7E191D
triadic
#7E1950 #507E19 #19507E
tetradic
#7E1950 #7E7A19 #197E47 #191D7E
square
#7E1950 #7E7A19 #197E47 #191D7E
split-complementary
#7E1950 #1D7E19 #197E7A
monochromatic
#1A0510 #4B0F30 #7E1950 #B12370 #D83A90

Accessibility & contrast

On white

9.80
#7E1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1950
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1950#FFFFFF#000000##FFFFFF
##7E19501.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#880E32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1950;
/* rgb */ color: rgb(126, 25, 80);
/* oklch */ color: oklch(40.4% 0.144 352.6);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7e1950',
    950: '#000000',
  },
}
SCSS
$custom: #7e1950;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1950",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 327.327,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.14422,
    "h": 352.6
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7E1950
secondary
#41B274
accent
#EA8C3E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1950

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

Preview Lab → · Contrast checker → · Palette generator →

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