#7E1848#7E1848

#7E1848 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.142 H 357.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7E1848
RGBrgb(126, 24, 72)
HSLhsl(332, 68%, 29%)
HSVhsv(332, 81%, 49%)
CMYKcmyk(0%, 81%, 42.9%, 50.6%)
CIE-LABlab(28.27, 46.02, -2.52)
CIE-LCHlch(28.27, 46.09, 356.87°)
OKLaboklab(40.03% 0.1415 -0.006)
OKLCHoklch(40.03% 0.142 357.6)
XYZxyz(10.1013, 5.5581, 6.6705)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1848 #187E4E
analogous
#7E187B #7E1848 #7E1B18
triadic
#7E1848 #487E18 #18487E
tetradic
#7E1848 #7B7E18 #187E4E #1B187E
square
#7E1848 #7B7E18 #187E4E #1B187E
split-complementary
#7E1848 #187E1B #187B7E
monochromatic
#1A050F #4B0E2B #7E1848 #B12265 #D93783

Accessibility & contrast

On white

9.95
#7E1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1848
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1848#FFFFFF#000000##FFFFFF
##7E18481.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#89062E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1848;
/* rgb */ color: rgb(126, 24, 72);
/* oklch */ color: oklch(40.0% 0.142 357.6);
Tailwind
colors: {
  custom: {
    50: '#a8617a',
    500: '#7e1848',
    950: '#000000',
  },
}
SCSS
$custom: #7e1848;
$custom-light: #a8617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1848",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 331.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.14166,
    "h": 357.6
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#7E1848
secondary
#3FB27C
accent
#EB993D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1848

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

Preview Lab → · Contrast checker → · Palette generator →

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