#7E155D#7E155D

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

Color values

HEX#7E155D
RGBrgb(126, 21, 93)
HSLhsl(319, 71%, 29%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 83.3%, 26.2%, 50.6%)
CIE-LABlab(28.81, 49.40, -15.60)
CIE-LCHlch(28.81, 51.81, 342.48°)
OKLaboklab(40.7% 0.1498 -0.0416)
OKLCHoklch(40.7% 0.155 344.5)
XYZxyz(10.8486, 5.7635, 10.8950)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155D #157E36
analogous
#6B157E #7E155D #7E1529
triadic
#7E155D #5D7E15 #155D7E
tetradic
#7E155D #7E6B15 #157E36 #15297E
square
#7E155D #7E6B15 #157E36 #15297E
split-complementary
#7E155D #297E15 #157E6B
monochromatic
#1A0413 #4A0C36 #7E155D #B21E84 #DD31A7

Accessibility & contrast

On white

9.76
#7E155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E155D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155D#FFFFFF#000000##FFFFFF
##7E155D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871438
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155d;
/* rgb */ color: rgb(126, 21, 93);
/* oklch */ color: oklch(40.7% 0.155 344.5);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e155d',
    950: '#000000',
  },
}
SCSS
$custom: #7e155d;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155d",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 318.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.15546,
    "h": 344.5
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#7E155D
secondary
#3CB361
accent
#EE723A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E155D

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

Preview Lab → · Contrast checker → · Palette generator →

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