#7E1952#7E1952

#7E1952 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.145 H 351.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1952
RGBrgb(126, 25, 82)
HSLhsl(326, 67%, 30%)
HSVhsv(326, 80%, 49%)
CMYKcmyk(0%, 80.2%, 34.9%, 50.6%)
CIE-LABlab(28.75, 46.84, -8.45)
CIE-LCHlch(28.75, 47.59, 349.78°)
OKLaboklab(40.5% 0.1436 -0.0219)
OKLCHoklch(40.5% 0.145 351.3)
XYZxyz(10.4754, 5.7413, 8.5376)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1952 #197E45
analogous
#78197E #7E1952 #7E191F
triadic
#7E1952 #527E19 #19527E
tetradic
#7E1952 #7E7819 #197E45 #191F7E
square
#7E1952 #7E7819 #197E45 #191F7E
split-complementary
#7E1952 #1F7E19 #197E78
monochromatic
#1A0511 #4B0F31 #7E1952 #B12373 #D83A93

Accessibility & contrast

On white

9.78
#7E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1952
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1952#FFFFFF#000000##FFFFFF
##7E19521.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#881033
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1952;
/* rgb */ color: rgb(126, 25, 82);
/* oklch */ color: oklch(40.5% 0.145 351.3);
Tailwind
colors: {
  custom: {
    50: '#a86182',
    500: '#7e1952',
    950: '#000000',
  },
}
SCSS
$custom: #7e1952;
$custom-light: #a86182;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1952",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 326.139,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.405,
    "c": 0.14523,
    "h": 351.3
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#7E1952
secondary
#41B272
accent
#EA893E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1952

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

Preview Lab → · Contrast checker → · Palette generator →

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