#7E1748#7E1748

#7E1748 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.143 H 357.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1748
RGBrgb(126, 23, 72)
HSLhsl(331, 69%, 29%)
HSVhsv(331, 82%, 49%)
CMYKcmyk(0%, 81.7%, 42.9%, 50.6%)
CIE-LABlab(28.16, 46.33, -2.68)
CIE-LCHlch(28.16, 46.41, 356.69°)
OKLaboklab(39.95% 0.1425 -0.0064)
OKLCHoklch(39.95% 0.143 357.4)
XYZxyz(10.0810, 5.5176, 6.6638)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1748 #177E4D
analogous
#7E177C #7E1748 #7E1917
triadic
#7E1748 #487E17 #17487E
tetradic
#7E1748 #7C7E17 #177E4D #19177E
square
#7E1748 #7C7E17 #177E4D #19177E
split-complementary
#7E1748 #177E19 #177C7E
monochromatic
#1A050F #4A0E2A #7E1748 #B22066 #DA3584

Accessibility & contrast

On white

9.98
#7E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1748
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1748#FFFFFF#000000##FFFFFF
##7E17481.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1748;
/* rgb */ color: rgb(126, 23, 72);
/* oklch */ color: oklch(39.9% 0.143 357.4);
Tailwind
colors: {
  custom: {
    50: '#a8607a',
    500: '#7e1748',
    950: '#000000',
  },
}
SCSS
$custom: #7e1748;
$custom-light: #a8607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1748",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 331.456,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.14266,
    "h": 357.4
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#7E1748
secondary
#3EB37B
accent
#EC983C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1748

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

Preview Lab → · Contrast checker → · Palette generator →

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