#7E155B#7E155B

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

Color values

HEX#7E155B
RGBrgb(126, 21, 91)
HSLhsl(320, 71%, 29%)
HSVhsv(320, 83%, 49%)
CMYKcmyk(0%, 83.3%, 27.8%, 50.6%)
CIE-LABlab(28.72, 49.14, -14.43)
CIE-LCHlch(28.72, 51.21, 343.64°)
OKLaboklab(40.6% 0.1494 -0.0383)
OKLCHoklch(40.6% 0.154 345.6)
XYZxyz(10.7612, 5.7285, 10.4345)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155B #157E38
analogous
#6D157E #7E155B #7E1527
triadic
#7E155B #5B7E15 #155B7E
tetradic
#7E155B #7E6D15 #157E38 #15277E
square
#7E155B #7E6D15 #157E38 #15277E
split-complementary
#7E155B #277E15 #157E6D
monochromatic
#1A0413 #4A0C35 #7E155B #B21E81 #DD31A3

Accessibility & contrast

On white

9.79
#7E155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E155B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155B#FFFFFF#000000##FFFFFF
##7E155B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#871237
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155b;
/* rgb */ color: rgb(126, 21, 91);
/* oklch */ color: oklch(40.6% 0.154 345.6);
Tailwind
colors: {
  custom: {
    50: '#a76089',
    500: '#7e155b',
    950: '#000000',
  },
}
SCSS
$custom: #7e155b;
$custom-light: #a76089;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155b",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 320,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.406,
    "c": 0.15424,
    "h": 345.6
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#7E155B
secondary
#3CB364
accent
#EE763A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E155B

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

Preview Lab → · Contrast checker → · Palette generator →

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