#7E1948#7E1948

#7E1948 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 357.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7E1948
RGBrgb(126, 25, 72)
HSLhsl(332, 67%, 30%)
HSVhsv(332, 80%, 49%)
CMYKcmyk(0%, 80.2%, 42.9%, 50.6%)
CIE-LABlab(28.38, 45.71, -2.35)
CIE-LCHlch(28.38, 45.77, 357.05°)
OKLaboklab(40.11% 0.1405 -0.0056)
OKLCHoklch(40.11% 0.141 357.7)
XYZxyz(10.1223, 5.6001, 6.6775)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1948 #197E4F
analogous
#7E197B #7E1948 #7E1D19
triadic
#7E1948 #487E19 #19487E
tetradic
#7E1948 #7B7E19 #197E4F #1D197E
square
#7E1948 #7B7E19 #197E4F #1D197E
split-complementary
#7E1948 #197E1D #197B7E
monochromatic
#1A050F #4B0F2B #7E1948 #B12365 #D83A83

Accessibility & contrast

On white

9.91
#7E1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1948
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1948#FFFFFF#000000##FFFFFF
##7E19481.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1948;
/* rgb */ color: rgb(126, 25, 72);
/* oklch */ color: oklch(40.1% 0.141 357.7);
Tailwind
colors: {
  custom: {
    50: '#a8617a',
    500: '#7e1948',
    950: '#000000',
  },
}
SCSS
$custom: #7e1948;
$custom-light: #a8617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1948",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 332.079,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.14063,
    "h": 357.7
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#7E1948
secondary
#41B27D
accent
#EA9A3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1948

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

Preview Lab → · Contrast checker → · Palette generator →

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