#7E155C#7E155C

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

Color values

HEX#7E155C
RGBrgb(126, 21, 92)
HSLhsl(319, 71%, 29%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 83.3%, 27%, 50.6%)
CIE-LABlab(28.76, 49.27, -15.01)
CIE-LCHlch(28.76, 51.51, 343.06°)
OKLaboklab(40.65% 0.1496 -0.04)
OKLCHoklch(40.65% 0.155 345)
XYZxyz(10.8046, 5.7459, 10.6632)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155C #157E37
analogous
#6C157E #7E155C #7E1527
triadic
#7E155C #5C7E15 #155C7E
tetradic
#7E155C #7E6C15 #157E37 #15277E
square
#7E155C #7E6C15 #157E37 #15277E
split-complementary
#7E155C #277E15 #157E6C
monochromatic
#1A0413 #4A0C36 #7E155C #B21E82 #DD31A5

Accessibility & contrast

On white

9.77
#7E155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E155C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155C#FFFFFF#000000##FFFFFF
##7E155C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#454A5A
Tritanopia (blue-blind)
#871337
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155c;
/* rgb */ color: rgb(126, 21, 92);
/* oklch */ color: oklch(40.6% 0.155 345.0);
Tailwind
colors: {
  custom: {
    50: '#a7608a',
    500: '#7e155c',
    950: '#000000',
  },
}
SCSS
$custom: #7e155c;
$custom-light: #a7608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155c",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 319.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.15485,
    "h": 345
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#7E155C
secondary
#3CB362
accent
#EE743A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E155C

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

Preview Lab → · Contrast checker → · Palette generator →

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