#7E1352#7E1352

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

Color values

HEX#7E1352
RGBrgb(126, 19, 82)
HSLhsl(325, 74%, 28%)
HSVhsv(325, 85%, 49%)
CMYKcmyk(0%, 84.9%, 34.9%, 50.6%)
CIE-LABlab(28.15, 48.56, -9.36)
CIE-LCHlch(28.15, 49.46, 349.09°)
OKLaboklab(40.06% 0.149 -0.0243)
OKLCHoklch(40.06% 0.151 350.7)
XYZxyz(10.3607, 5.5118, 8.4993)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1352 #137E3F
analogous
#74137E #7E1352 #7E131C
triadic
#7E1352 #527E13 #13527E
tetradic
#7E1352 #7E7413 #137E3F #131C7E
square
#7E1352 #7E7413 #137E3F #131C7E
split-complementary
#7E1352 #1C7E13 #137E74
monochromatic
#1B0411 #490B2F #7E1352 #B31B75 #DF2C96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1352#FFFFFF#000000##FFFFFF
##7E13521.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)
#283654
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#880731
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1352;
/* rgb */ color: rgb(126, 19, 82);
/* oklch */ color: oklch(40.1% 0.151 350.7);
Tailwind
colors: {
  custom: {
    50: '#a85f82',
    500: '#7e1352',
    950: '#000000',
  },
}
SCSS
$custom: #7e1352;
$custom-light: #a85f82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1352",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 324.673,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.15102,
    "h": 350.7
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#7E1352
secondary
#39B46C
accent
#F08337
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1352

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

Preview Lab → · Contrast checker → · Palette generator →

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