#7E136B#7E136B

#7E136B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.166 H 337.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E136B
RGBrgb(126, 19, 107)
HSLhsl(311, 74%, 28%)
HSVhsv(311, 85%, 49%)
CMYKcmyk(0%, 84.9%, 15.1%, 50.6%)
CIE-LABlab(29.32, 51.88, -23.88)
CIE-LCHlch(29.32, 57.12, 335.28°)
OKLaboklab(41.29% 0.1532 -0.0651)
OKLCHoklch(41.29% 0.166 337)
XYZxyz(11.4911, 5.9640, 14.4531)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E136B #137E26
analogous
#5B137E #7E136B #7E1335
triadic
#7E136B #6B7E13 #136B7E
tetradic
#7E136B #7E5B13 #137E26 #13357E
square
#7E136B #7E5B13 #137E26 #13357E
split-complementary
#7E136B #357E13 #137E5B
monochromatic
#1B0417 #490B3E #7E136B #B31B98 #DF2CBF

Accessibility & contrast

On white

9.58
#7E136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E136B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E136B#FFFFFF#000000##FFFFFF
##7E136B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#851C3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e136b;
/* rgb */ color: rgb(126, 19, 107);
/* oklch */ color: oklch(41.3% 0.166 337.0);
Tailwind
colors: {
  custom: {
    50: '#a76095',
    500: '#7e136b',
    950: '#000000',
  },
}
SCSS
$custom: #7e136b;
$custom-light: #a76095;
$custom-dark: #000000;
JSON
{
  "hex": "#7e136b",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 310.654,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.16643,
    "h": 337
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#7E136B
secondary
#39B44F
accent
#F05837
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E136B

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

Preview Lab → · Contrast checker → · Palette generator →

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