#7E1844#7E1844

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

Color values

HEX#7E1844
RGBrgb(126, 24, 68)
HSLhsl(334, 68%, 29%)
HSVhsv(334, 81%, 49%)
CMYKcmyk(0%, 81%, 46%, 50.6%)
CIE-LABlab(28.13, 45.61, -0.04)
CIE-LCHlch(28.13, 45.61, 359.95°)
OKLaboklab(39.89% 0.1402 0.0004)
OKLCHoklch(39.89% 0.14 0.2)
XYZxyz(9.9750, 5.5076, 6.0055)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1844 #187E52
analogous
#7E1877 #7E1844 #7E1F18
triadic
#7E1844 #447E18 #18447E
tetradic
#7E1844 #777E18 #187E52 #1F187E
square
#7E1844 #777E18 #187E52 #1F187E
split-complementary
#7E1844 #187E1F #18777E
monochromatic
#1A050E #4B0E28 #7E1844 #B12260 #D9377D

Accessibility & contrast

On white

9.99
#7E1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1844
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1844#FFFFFF#000000##FFFFFF
##7E18441.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303645
Deuteranopia (green-blind)
#4C4942
Tritanopia (blue-blind)
#89022C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1844;
/* rgb */ color: rgb(126, 24, 68);
/* oklch */ color: oklch(39.9% 0.140 0.2);
Tailwind
colors: {
  custom: {
    50: '#a86177',
    500: '#7e1844',
    950: '#000000',
  },
}
SCSS
$custom: #7e1844;
$custom-light: #a86177;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1844",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 334.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.14015,
    "h": 0.2
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#7E1844
secondary
#3FB281
accent
#EBA03D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7E1844

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

Preview Lab → · Contrast checker → · Palette generator →

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