#7E135E#7E135E

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

Color values

HEX#7E135E
RGBrgb(126, 19, 94)
HSLhsl(318, 74%, 28%)
HSVhsv(318, 85%, 49%)
CMYKcmyk(0%, 84.9%, 25.4%, 50.6%)
CIE-LABlab(28.67, 50.06, -16.46)
CIE-LCHlch(28.67, 52.70, 341.80°)
OKLaboklab(40.61% 0.1516 -0.044)
OKLCHoklch(40.61% 0.158 343.8)
XYZxyz(10.8579, 5.7107, 11.1180)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E135E #137E33
analogous
#68137E #7E135E #7E1328
triadic
#7E135E #5E7E13 #135E7E
tetradic
#7E135E #7E6813 #137E33 #13287E
square
#7E135E #7E6813 #137E33 #13287E
split-complementary
#7E135E #287E13 #137E68
monochromatic
#1B0414 #490B36 #7E135E #B31B86 #DF2CAA

Accessibility & contrast

On white

9.80
#7E135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E135E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E135E#FFFFFF#000000##FFFFFF
##7E135E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#871238
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e135e;
/* rgb */ color: rgb(126, 19, 94);
/* oklch */ color: oklch(40.6% 0.158 343.8);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e135e',
    950: '#000000',
  },
}
SCSS
$custom: #7e135e;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e135e",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 317.944,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.15786,
    "h": 343.8
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7E135E
secondary
#39B45E
accent
#F06F37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E135E

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

Preview Lab → · Contrast checker → · Palette generator →

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