#7E135B#7E135B

#7E135B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.156 H 345.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E135B
RGBrgb(126, 19, 91)
HSLhsl(320, 74%, 28%)
HSVhsv(320, 85%, 49%)
CMYKcmyk(0%, 84.9%, 27.8%, 50.6%)
CIE-LABlab(28.53, 49.67, -14.71)
CIE-LCHlch(28.53, 51.80, 343.50°)
OKLaboklab(40.47% 0.1511 -0.0391)
OKLCHoklch(40.47% 0.156 345.5)
XYZxyz(10.7259, 5.6579, 10.4227)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E135B #137E36
analogous
#6B137E #7E135B #7E1325
triadic
#7E135B #5B7E13 #135B7E
tetradic
#7E135B #7E6B13 #137E36 #13257E
square
#7E135B #7E6B13 #137E36 #13257E
split-complementary
#7E135B #257E13 #137E6B
monochromatic
#1B0413 #490B35 #7E135B #B31B81 #DF2CA5

Accessibility & contrast

On white

9.85
#7E135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E135B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E135B#FFFFFF#000000##FFFFFF
##7E135B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#444A59
Tritanopia (blue-blind)
#871036
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e135b;
/* rgb */ color: rgb(126, 19, 91);
/* oklch */ color: oklch(40.5% 0.156 345.5);
Tailwind
colors: {
  custom: {
    50: '#a76089',
    500: '#7e135b',
    950: '#000000',
  },
}
SCSS
$custom: #7e135b;
$custom-light: #a76089;
$custom-dark: #000000;
JSON
{
  "hex": "#7e135b",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 319.626,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.15603,
    "h": 345.5
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#7E135B
secondary
#39B461
accent
#F07437
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E135B

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

Preview Lab → · Contrast checker → · Palette generator →

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