#7E1448#7E1448

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

Color values

HEX#7E1448
RGBrgb(126, 20, 72)
HSLhsl(331, 73%, 29%)
HSVhsv(331, 84%, 49%)
CMYKcmyk(0%, 84.1%, 42.9%, 50.6%)
CIE-LABlab(27.86, 47.19, -3.12)
CIE-LCHlch(27.86, 47.29, 356.21°)
OKLaboklab(39.73% 0.1453 -0.0076)
OKLCHoklch(39.73% 0.145 357)
XYZxyz(10.0248, 5.4051, 6.6450)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1448 #147E4A
analogous
#7E147D #7E1448 #7E1514
triadic
#7E1448 #487E14 #14487E
tetradic
#7E1448 #7D7E14 #147E4A #15147E
square
#7E1448 #7D7E14 #147E4A #15147E
split-complementary
#7E1448 #147E15 #147D7E
monochromatic
#1A040F #490C2A #7E1448 #B31C66 #DE2E85

Accessibility & contrast

On white

10.09
#7E1448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1448
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1448#FFFFFF#000000##FFFFFF
##7E14481.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1448;
/* rgb */ color: rgb(126, 20, 72);
/* oklch */ color: oklch(39.7% 0.145 357.0);
Tailwind
colors: {
  custom: {
    50: '#a85f7a',
    500: '#7e1448',
    950: '#000000',
  },
}
SCSS
$custom: #7e1448;
$custom-light: #a85f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1448",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 330.566,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.14547,
    "h": 357
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#7E1448
secondary
#3AB378
accent
#EF9638
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1448

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

Preview Lab → · Contrast checker → · Palette generator →

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