#7E155F#7E155F

#7E155F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.157 H 343.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E155F
RGBrgb(126, 21, 95)
HSLhsl(318, 71%, 29%)
HSVhsv(318, 83%, 49%)
CMYKcmyk(0%, 83.3%, 24.6%, 50.6%)
CIE-LABlab(28.90, 49.67, -16.76)
CIE-LCHlch(28.90, 52.42, 341.35°)
OKLaboklab(40.79% 0.1501 -0.0449)
OKLCHoklch(40.79% 0.157 343.4)
XYZxyz(10.9384, 5.7994, 11.3676)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E155F #157E34
analogous
#69157E #7E155F #7E152B
triadic
#7E155F #5F7E15 #155F7E
tetradic
#7E155F #7E6915 #157E34 #152B7E
square
#7E155F #7E6915 #157E34 #152B7E
split-complementary
#7E155F #2B7E15 #157E69
monochromatic
#1A0414 #4A0C37 #7E155F #B21E87 #DD31AA

Accessibility & contrast

On white

9.72
#7E155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E155F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E155F#FFFFFF#000000##FFFFFF
##7E155F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#444A5D
Tritanopia (blue-blind)
#871539
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e155f;
/* rgb */ color: rgb(126, 21, 95);
/* oklch */ color: oklch(40.8% 0.157 343.4);
Tailwind
colors: {
  custom: {
    50: '#a7618c',
    500: '#7e155f',
    950: '#000000',
  },
}
SCSS
$custom: #7e155f;
$custom-light: #a7618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e155f",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 317.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.15669,
    "h": 343.4
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#7E155F
secondary
#3CB35F
accent
#EE6F3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E155F

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

Preview Lab → · Contrast checker → · Palette generator →

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