#7E155E#7E155E

#7E155E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.156 H 343.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7E155E
RGBrgb(126, 21, 94)
HSLhsl(318, 71%, 29%)
HSVhsv(318, 83%, 49%)
CMYKcmyk(0%, 83.3%, 25.4%, 50.6%)
CIE-LABlab(28.85, 49.54, -16.18)
CIE-LCHlch(28.85, 52.11, 341.91°)
OKLaboklab(40.74% 0.15 -0.0432)
OKLCHoklch(40.74% 0.156 343.9)
XYZxyz(10.8932, 5.7813, 11.1297)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155E #157E35
analogous
#6A157E #7E155E #7E1529
triadic
#7E155E #5E7E15 #155E7E
tetradic
#7E155E #7E6A15 #157E35 #15297E
square
#7E155E #7E6A15 #157E35 #15297E
split-complementary
#7E155E #297E15 #157E6A
monochromatic
#1A0414 #4A0C37 #7E155E #B21E85 #DD31A8

Accessibility & contrast

On white

9.74
#7E155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E155E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155E#FFFFFF#000000##FFFFFF
##7E155E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#871438
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155e;
/* rgb */ color: rgb(126, 21, 94);
/* oklch */ color: oklch(40.7% 0.156 343.9);
Tailwind
colors: {
  custom: {
    50: '#a7618b',
    500: '#7e155e',
    950: '#000000',
  },
}
SCSS
$custom: #7e155e;
$custom-light: #a7618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155e",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 318.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.15607,
    "h": 343.9
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7E155E
secondary
#3CB360
accent
#EE713A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E155E

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

Preview Lab → · Contrast checker → · Palette generator →

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