#7E115B#7E115B

#7E115B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.158 H 345.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7E115B
RGBrgb(126, 17, 91)
HSLhsl(319, 76%, 28%)
HSVhsv(319, 87%, 49%)
CMYKcmyk(0%, 86.5%, 27.8%, 50.6%)
CIE-LABlab(28.36, 50.16, -14.97)
CIE-LCHlch(28.36, 52.35, 343.38°)
OKLaboklab(40.34% 0.1526 -0.0398)
OKLCHoklch(40.34% 0.158 345.4)
XYZxyz(10.6935, 5.5931, 10.4119)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115B #117E34
analogous
#6A117E #7E115B #7E1124
triadic
#7E115B #5B7E11 #115B7E
tetradic
#7E115B #7E6A11 #117E34 #11247E
square
#7E115B #7E6A11 #117E34 #11247E
split-complementary
#7E115B #247E11 #117E6A
monochromatic
#1B0413 #480A34 #7E115B #B41882 #E227A6

Accessibility & contrast

On white

9.91
#7E115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E115B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115B#FFFFFF#000000##FFFFFF
##7E115B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#870E36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115b;
/* rgb */ color: rgb(126, 17, 91);
/* oklch */ color: oklch(40.3% 0.158 345.4);
Tailwind
colors: {
  custom: {
    50: '#a75f89',
    500: '#7e115b',
    950: '#000000',
  },
}
SCSS
$custom: #7e115b;
$custom-light: #a75f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115b",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 319.266,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.15771,
    "h": 345.4
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#7E115B
secondary
#37B45F
accent
#F37235
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E115B

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

Preview Lab → · Contrast checker → · Palette generator →

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