#7E1153#7E1153

#7E1153 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.153 H 350.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1153
RGBrgb(126, 17, 83)
HSLhsl(324, 76%, 28%)
HSVhsv(324, 87%, 49%)
CMYKcmyk(0%, 86.5%, 34.1%, 50.6%)
CIE-LABlab(28.01, 49.18, -10.23)
CIE-LCHlch(28.01, 50.23, 348.25°)
OKLaboklab(39.98% 0.1509 -0.0267)
OKLCHoklch(39.98% 0.153 350)
XYZxyz(10.3666, 5.4623, 8.6904)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1153 #117E3C
analogous
#72117E #7E1153 #7E111C
triadic
#7E1153 #537E11 #11537E
tetradic
#7E1153 #7E7211 #117E3C #111C7E
square
#7E1153 #7E7211 #117E3C #111C7E
split-complementary
#7E1153 #1C7E11 #117E72
monochromatic
#1B0412 #480A2F #7E1153 #B41877 #E22798

Accessibility & contrast

On white

10.04
#7E1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1153
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1153#FFFFFF#000000##FFFFFF
##7E11531.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273655
Deuteranopia (green-blind)
#464951
Tritanopia (blue-blind)
#880531
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1153;
/* rgb */ color: rgb(126, 17, 83);
/* oklch */ color: oklch(40.0% 0.153 350.0);
Tailwind
colors: {
  custom: {
    50: '#a85f83',
    500: '#7e1153',
    950: '#000000',
  },
}
SCSS
$custom: #7e1153;
$custom-light: #a85f83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1153",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 323.67,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.15321,
    "h": 350
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7E1153
secondary
#37B468
accent
#F38035
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1153

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

Preview Lab → · Contrast checker → · Palette generator →

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