#7E185E#7E185E

#7E185E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.153 H 344.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E185E
RGBrgb(126, 24, 94)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 49%)
CMYKcmyk(0%, 81%, 25.4%, 50.6%)
CIE-LABlab(29.15, 48.67, -15.72)
CIE-LCHlch(29.15, 51.15, 342.11°)
OKLaboklab(40.96% 0.1473 -0.042)
OKLCHoklch(40.96% 0.153 344.1)
XYZxyz(10.9517, 5.8982, 11.1492)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E185E #187E38
analogous
#6B187E #7E185E #7E182B
triadic
#7E185E #5E7E18 #185E7E
tetradic
#7E185E #7E6B18 #187E38 #182B7E
square
#7E185E #7E6B18 #187E38 #182B7E
split-complementary
#7E185E #2B7E18 #187E6B
monochromatic
#1A0513 #4B0E38 #7E185E #B12284 #D937A6

Accessibility & contrast

On white

9.64
#7E185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E185E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E185E#FFFFFF#000000##FFFFFF
##7E185E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#871739
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e185e;
/* rgb */ color: rgb(126, 24, 94);
/* oklch */ color: oklch(41.0% 0.153 344.1);
Tailwind
colors: {
  custom: {
    50: '#a7628b',
    500: '#7e185e',
    950: '#000000',
  },
}
SCSS
$custom: #7e185e;
$custom-light: #a7628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e185e",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 318.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.15316,
    "h": 344.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7E185E
secondary
#3FB263
accent
#EB743D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E185E

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

Preview Lab → · Contrast checker → · Palette generator →

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