#7E135A#7E135A

#7E135A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.155 H 346.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E135A
RGBrgb(126, 19, 90)
HSLhsl(320, 74%, 28%)
HSVhsv(320, 85%, 49%)
CMYKcmyk(0%, 84.9%, 28.6%, 50.6%)
CIE-LABlab(28.49, 49.54, -14.12)
CIE-LCHlch(28.49, 51.52, 344.09°)
OKLaboklab(40.42% 0.1509 -0.0375)
OKLCHoklch(40.42% 0.155 346)
XYZxyz(10.6830, 5.6408, 10.1971)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E135A #137E37
analogous
#6C137E #7E135A #7E1324
triadic
#7E135A #5A7E13 #135A7E
tetradic
#7E135A #7E6C13 #137E37 #13247E
square
#7E135A #7E6C13 #137E37 #13247E
split-complementary
#7E135A #247E13 #137E6C
monochromatic
#1B0413 #490B34 #7E135A #B31B80 #DF2CA3

Accessibility & contrast

On white

9.87
#7E135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E135A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E135A#FFFFFF#000000##FFFFFF
##7E135A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#870F36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e135a;
/* rgb */ color: rgb(126, 19, 90);
/* oklch */ color: oklch(40.4% 0.155 346.0);
Tailwind
colors: {
  custom: {
    50: '#a76088',
    500: '#7e135a',
    950: '#000000',
  },
}
SCSS
$custom: #7e135a;
$custom-light: #a76088;
$custom-dark: #000000;
JSON
{
  "hex": "#7e135a",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 320.187,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.15545,
    "h": 346
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#7E135A
secondary
#39B462
accent
#F07637
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E135A

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

Preview Lab → · Contrast checker → · Palette generator →

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