#7E1E48#7E1E48

#7E1E48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.135 H 358.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7E1E48
RGBrgb(126, 30, 72)
HSLhsl(334, 62%, 31%)
HSVhsv(334, 76%, 49%)
CMYKcmyk(0%, 76.2%, 42.9%, 50.6%)
CIE-LABlab(28.99, 43.99, -1.46)
CIE-LCHlch(28.99, 44.02, 358.10°)
OKLaboklab(40.56% 0.135 -0.0033)
OKLCHoklch(40.56% 0.135 358.6)
XYZxyz(10.2389, 5.8333, 6.7164)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E48 #1E7E54
analogous
#7E1E78 #7E1E48 #7E241E
triadic
#7E1E48 #487E1E #1E487E
tetradic
#7E1E48 #787E1E #1E7E54 #241E7E
square
#7E1E48 #787E1E #1E7E54 #241E7E
split-complementary
#7E1E48 #1E7E24 #1E787E
monochromatic
#1B0610 #4D122C #7E1E48 #AF2A64 #D24482

Accessibility & contrast

On white

9.69
#7E1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E48
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E48#FFFFFF#000000##FFFFFF
##7E1E481.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#891030
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e48;
/* rgb */ color: rgb(126, 30, 72);
/* oklch */ color: oklch(40.6% 0.135 358.6);
Tailwind
colors: {
  custom: {
    50: '#a8637a',
    500: '#7e1e48',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e48;
$custom-light: #a8637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e48",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 333.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.13508,
    "h": 358.6
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#7E1E48
secondary
#47B183
accent
#E59E43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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