#7E1548#7E1548

#7E1548 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 357.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7E1548
RGBrgb(126, 21, 72)
HSLhsl(331, 71%, 29%)
HSVhsv(331, 83%, 49%)
CMYKcmyk(0%, 83.3%, 42.9%, 50.6%)
CIE-LABlab(27.96, 46.91, -2.98)
CIE-LCHlch(27.96, 47.01, 356.37°)
OKLaboklab(39.8% 0.1444 -0.0072)
OKLCHoklch(39.8% 0.145 357.1)
XYZxyz(10.0428, 5.4412, 6.6510)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1548 #157E4B
analogous
#7E157D #7E1548 #7E1615
triadic
#7E1548 #487E15 #15487E
tetradic
#7E1548 #7D7E15 #157E4B #16157E
square
#7E1548 #7D7E15 #157E4B #16157E
split-complementary
#7E1548 #157E16 #157D7E
monochromatic
#1A040F #4A0C2A #7E1548 #B21E66 #DD3184

Accessibility & contrast

On white

10.06
#7E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1548
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1548#FFFFFF#000000##FFFFFF
##7E15481.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#89012D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1548;
/* rgb */ color: rgb(126, 21, 72);
/* oklch */ color: oklch(39.8% 0.145 357.1);
Tailwind
colors: {
  custom: {
    50: '#a8607a',
    500: '#7e1548',
    950: '#000000',
  },
}
SCSS
$custom: #7e1548;
$custom-light: #a8607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1548",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 330.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.14456,
    "h": 357.1
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#7E1548
secondary
#3CB379
accent
#EE963A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1548

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

Preview Lab → · Contrast checker → · Palette generator →

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