#7E185C#7E185C

#7E185C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.152 H 345.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7E185C
RGBrgb(126, 24, 92)
HSLhsl(320, 68%, 29%)
HSVhsv(320, 81%, 49%)
CMYKcmyk(0%, 81%, 27%, 50.6%)
CIE-LABlab(29.06, 48.41, -14.55)
CIE-LCHlch(29.06, 50.55, 343.27°)
OKLaboklab(40.87% 0.1469 -0.0387)
OKLCHoklch(40.87% 0.152 345.2)
XYZxyz(10.8631, 5.8628, 10.6827)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E185C #187E3A
analogous
#6D187E #7E185C #7E1829
triadic
#7E185C #5C7E18 #185C7E
tetradic
#7E185C #7E6D18 #187E3A #18297E
square
#7E185C #7E6D18 #187E3A #18297E
split-complementary
#7E185C #297E18 #187E6D
monochromatic
#1A0513 #4B0E36 #7E185C #B12282 #D937A3

Accessibility & contrast

On white

9.67
#7E185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E185C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E185C#FFFFFF#000000##FFFFFF
##7E185C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5E
Deuteranopia (green-blind)
#454B5A
Tritanopia (blue-blind)
#871638
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e185c;
/* rgb */ color: rgb(126, 24, 92);
/* oklch */ color: oklch(40.9% 0.152 345.2);
Tailwind
colors: {
  custom: {
    50: '#a7618a',
    500: '#7e185c',
    950: '#000000',
  },
}
SCSS
$custom: #7e185c;
$custom-light: #a7618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e185c",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 320,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.15192,
    "h": 345.2
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#7E185C
secondary
#3FB266
accent
#EB773D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E185C

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

Preview Lab → · Contrast checker → · Palette generator →

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