#7E135D#7E135D

#7E135D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.157 H 344.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7E135D
RGBrgb(126, 19, 93)
HSLhsl(319, 74%, 28%)
HSVhsv(319, 85%, 49%)
CMYKcmyk(0%, 84.9%, 26.2%, 50.6%)
CIE-LABlab(28.62, 49.93, -15.88)
CIE-LCHlch(28.62, 52.39, 342.36°)
OKLaboklab(40.56% 0.1514 -0.0424)
OKLCHoklch(40.56% 0.157 344.4)
XYZxyz(10.8133, 5.6929, 10.8832)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E135D #137E34
analogous
#69137E #7E135D #7E1327
triadic
#7E135D #5D7E13 #135D7E
tetradic
#7E135D #7E6913 #137E34 #13277E
square
#7E135D #7E6913 #137E34 #13277E
split-complementary
#7E135D #277E13 #137E69
monochromatic
#1B0414 #490B36 #7E135D #B31B84 #DF2CA8

Accessibility & contrast

On white

9.82
#7E135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E135D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E135D#FFFFFF#000000##FFFFFF
##7E135D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871237
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e135d;
/* rgb */ color: rgb(126, 19, 93);
/* oklch */ color: oklch(40.6% 0.157 344.4);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e135d',
    950: '#000000',
  },
}
SCSS
$custom: #7e135d;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e135d",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 318.505,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.15724,
    "h": 344.4
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#7E135D
secondary
#39B45F
accent
#F07037
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E135D

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

Preview Lab → · Contrast checker → · Palette generator →

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