#7E155A#7E155A

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

Color values

HEX#7E155A
RGBrgb(126, 21, 90)
HSLhsl(321, 71%, 29%)
HSVhsv(321, 83%, 49%)
CMYKcmyk(0%, 83.3%, 28.6%, 50.6%)
CIE-LABlab(28.67, 49.01, -13.84)
CIE-LCHlch(28.67, 50.93, 344.23°)
OKLaboklab(40.55% 0.1492 -0.0367)
OKLCHoklch(40.55% 0.154 346.2)
XYZxyz(10.7183, 5.7114, 10.2088)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155A #157E39
analogous
#6E157E #7E155A #7E1526
triadic
#7E155A #5A7E15 #155A7E
tetradic
#7E155A #7E6E15 #157E39 #15267E
square
#7E155A #7E6E15 #157E39 #15267E
split-complementary
#7E155A #267E15 #157E6E
monochromatic
#1A0413 #4A0C35 #7E155A #B21E7F #DD31A2

Accessibility & contrast

On white

9.80
#7E155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E155A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155A#FFFFFF#000000##FFFFFF
##7E155A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#871136
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155a;
/* rgb */ color: rgb(126, 21, 90);
/* oklch */ color: oklch(40.6% 0.154 346.2);
Tailwind
colors: {
  custom: {
    50: '#a76088',
    500: '#7e155a',
    950: '#000000',
  },
}
SCSS
$custom: #7e155a;
$custom-light: #a76088;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 320.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.15365,
    "h": 346.2
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7E155A
secondary
#3CB365
accent
#EE783A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E155A

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

Preview Lab → · Contrast checker → · Palette generator →

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