#7E1E44#7E1E44

#7E1E44 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 1.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7E1E44
RGBrgb(126, 30, 68)
HSLhsl(336, 62%, 31%)
HSVhsv(336, 76%, 49%)
CMYKcmyk(0%, 76.2%, 46%, 50.6%)
CIE-LABlab(28.86, 43.57, 1.02)
CIE-LCHlch(28.86, 43.58, 1.34°)
OKLaboklab(40.42% 0.1336 0.0031)
OKLCHoklch(40.42% 0.134 1.3)
XYZxyz(10.1126, 5.7828, 6.0514)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E44 #1E7E58
analogous
#7E1E74 #7E1E44 #7E281E
triadic
#7E1E44 #447E1E #1E447E
tetradic
#7E1E44 #747E1E #1E7E58 #281E7E
square
#7E1E44 #747E1E #1E7E58 #281E7E
split-complementary
#7E1E44 #1E7E28 #1E747E
monochromatic
#1B060F #4D1229 #7E1E44 #AF2A5F #D2447C

Accessibility & contrast

On white

9.74
#7E1E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E44
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E44#FFFFFF#000000##FFFFFF
##7E1E441.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333845
Deuteranopia (green-blind)
#4D4B42
Tritanopia (blue-blind)
#890E2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e44;
/* rgb */ color: rgb(126, 30, 68);
/* oklch */ color: oklch(40.4% 0.134 1.3);
Tailwind
colors: {
  custom: {
    50: '#a86377',
    500: '#7e1e44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e44;
$custom-light: #a86377;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e44",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 336.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.13365,
    "h": 1.3
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#7E1E44
secondary
#47B187
accent
#E5A543
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1E44

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

Preview Lab → · Contrast checker → · Palette generator →

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