#7E1546#7E1546

#7E1546 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.144 H 358.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1546
RGBrgb(126, 21, 70)
HSLhsl(332, 71%, 29%)
HSVhsv(332, 83%, 49%)
CMYKcmyk(0%, 83.3%, 44.4%, 50.6%)
CIE-LABlab(27.89, 46.71, -1.74)
CIE-LCHlch(27.89, 46.74, 357.87°)
OKLaboklab(39.73% 0.1437 -0.004)
OKLCHoklch(39.73% 0.144 358.4)
XYZxyz(9.9786, 5.4155, 6.3130)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1546 #157E4D
analogous
#7E157B #7E1546 #7E1915
triadic
#7E1546 #467E15 #15467E
tetradic
#7E1546 #7B7E15 #157E4D #19157E
square
#7E1546 #7B7E15 #157E4D #19157E
split-complementary
#7E1546 #157E19 #157B7E
monochromatic
#1A040F #4A0C29 #7E1546 #B21E63 #DD3181

Accessibility & contrast

On white

10.08
#7E1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1546
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1546#FFFFFF#000000##FFFFFF
##7E15461.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3547
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1546;
/* rgb */ color: rgb(126, 21, 70);
/* oklch */ color: oklch(39.7% 0.144 358.4);
Tailwind
colors: {
  custom: {
    50: '#a86079',
    500: '#7e1546',
    950: '#000000',
  },
}
SCSS
$custom: #7e1546;
$custom-light: #a86079;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1546",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 332,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.14377,
    "h": 358.4
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#7E1546
secondary
#3CB37B
accent
#EE9A3A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1546

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

Preview Lab → · Contrast checker → · Palette generator →

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