#7E1358#7E1358

#7E1358 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.154 H 347.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E1358
RGBrgb(126, 19, 88)
HSLhsl(321, 74%, 28%)
HSVhsv(321, 85%, 49%)
CMYKcmyk(0%, 84.9%, 30.2%, 50.6%)
CIE-LABlab(28.40, 49.29, -12.94)
CIE-LCHlch(28.40, 50.96, 345.29°)
OKLaboklab(40.33% 0.1505 -0.0342)
OKLCHoklch(40.33% 0.154 347.2)
XYZxyz(10.5991, 5.6072, 9.7548)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1358 #137E39
analogous
#6E137E #7E1358 #7E1323
triadic
#7E1358 #587E13 #13587E
tetradic
#7E1358 #7E6E13 #137E39 #13237E
square
#7E1358 #7E6E13 #137E39 #13237E
split-complementary
#7E1358 #237E13 #137E6E
monochromatic
#1B0413 #490B33 #7E1358 #B31B7D #DF2CA0

Accessibility & contrast

On white

9.90
#7E1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1358
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1358#FFFFFF#000000##FFFFFF
##7E13581.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25375A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#870D35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1358;
/* rgb */ color: rgb(126, 19, 88);
/* oklch */ color: oklch(40.3% 0.154 347.2);
Tailwind
colors: {
  custom: {
    50: '#a86087',
    500: '#7e1358',
    950: '#000000',
  },
}
SCSS
$custom: #7e1358;
$custom-light: #a86087;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1358",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 321.308,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.15429,
    "h": 347.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7E1358
secondary
#39B465
accent
#F07937
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1358

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

Preview Lab → · Contrast checker → · Palette generator →

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