#7E1841#7E1841

#7E1841 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.139 H 2.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7E1841
RGBrgb(126, 24, 65)
HSLhsl(336, 68%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 81%, 48.4%, 50.6%)
CIE-LABlab(28.04, 45.32, 1.84)
CIE-LCHlch(28.04, 45.35, 2.32°)
OKLaboklab(39.78% 0.1391 0.0052)
OKLCHoklch(39.78% 0.139 2.1)
XYZxyz(9.8858, 5.4719, 5.5356)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1841 #187E55
analogous
#7E1874 #7E1841 #7E2218
triadic
#7E1841 #417E18 #18417E
tetradic
#7E1841 #747E18 #187E55 #22187E
square
#7E1841 #747E18 #187E55 #22187E
split-complementary
#7E1841 #187E22 #18747E
monochromatic
#1A050D #4B0E26 #7E1841 #B1225C #D93778

Accessibility & contrast

On white

10.03
#7E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1841
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1841#FFFFFF#000000##FFFFFF
##7E18411.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313642
Deuteranopia (green-blind)
#4C493F
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1841;
/* rgb */ color: rgb(126, 24, 65);
/* oklch */ color: oklch(39.8% 0.139 2.1);
Tailwind
colors: {
  custom: {
    50: '#a86075',
    500: '#7e1841',
    950: '#000000',
  },
}
SCSS
$custom: #7e1841;
$custom-light: #a86075;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1841",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 335.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.13916,
    "h": 2.1
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7E1841
secondary
#3FB284
accent
#EBA53D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1841

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

Preview Lab → · Contrast checker → · Palette generator →

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