#7E104C#7E104C

#7E104C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.151 H 354.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E104C
RGBrgb(126, 16, 76)
HSLhsl(327, 77%, 28%)
HSVhsv(327, 87%, 49%)
CMYKcmyk(0%, 87.3%, 39.7%, 50.6%)
CIE-LABlab(27.65, 48.63, -6.11)
CIE-LCHlch(27.65, 49.01, 352.84°)
OKLaboklab(39.63% 0.1497 -0.0155)
OKLCHoklch(39.63% 0.151 354.1)
XYZxyz(10.0947, 5.3293, 7.3332)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E104C #107E42
analogous
#79107E #7E104C #7E1015
triadic
#7E104C #4C7E10 #104C7E
tetradic
#7E104C #7E7910 #107E42 #10157E
square
#7E104C #7E7910 #107E42 #10157E
split-complementary
#7E104C #157E10 #107E79
monochromatic
#1B0310 #48092B #7E104C #B4176D #E3258D

Accessibility & contrast

On white

10.17
#7E104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E104C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E104C#FFFFFF#000000##FFFFFF
##7E104C1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#89002D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e104c;
/* rgb */ color: rgb(126, 16, 76);
/* oklch */ color: oklch(39.6% 0.151 354.1);
Tailwind
colors: {
  custom: {
    50: '#a85e7e',
    500: '#7e104c',
    950: '#000000',
  },
}
SCSS
$custom: #7e104c;
$custom-light: #a85e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e104c",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 327.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.15054,
    "h": 354.1
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7E104C
secondary
#36B46F
accent
#F48B34
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E104C

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

Preview Lab → · Contrast checker → · Palette generator →

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