#7E185A#7E185A

#7E185A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.151 H 346.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7E185A
RGBrgb(126, 24, 90)
HSLhsl(321, 68%, 29%)
HSVhsv(321, 81%, 49%)
CMYKcmyk(0%, 81%, 28.6%, 50.6%)
CIE-LABlab(28.98, 48.14, -13.37)
CIE-LCHlch(28.98, 49.97, 344.48°)
OKLaboklab(40.77% 0.1465 -0.0354)
OKLCHoklch(40.77% 0.151 346.4)
XYZxyz(10.7768, 5.8283, 10.2283)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E185A #187E3C
analogous
#6F187E #7E185A #7E1827
triadic
#7E185A #5A7E18 #185A7E
tetradic
#7E185A #7E6F18 #187E3C #18277E
square
#7E185A #7E6F18 #187E3C #18277E
split-complementary
#7E185A #277E18 #187E6F
monochromatic
#1A0512 #4B0E35 #7E185A #B1227F #D937A0

Accessibility & contrast

On white

9.70
#7E185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E185A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E185A#FFFFFF#000000##FFFFFF
##7E185A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#464B58
Tritanopia (blue-blind)
#871437
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e185a;
/* rgb */ color: rgb(126, 24, 90);
/* oklch */ color: oklch(40.8% 0.151 346.4);
Tailwind
colors: {
  custom: {
    50: '#a76188',
    500: '#7e185a',
    950: '#000000',
  },
}
SCSS
$custom: #7e185a;
$custom-light: #a76188;
$custom-dark: #000000;
JSON
{
  "hex": "#7e185a",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 321.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.15072,
    "h": 346.4
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#7E185A
secondary
#3FB268
accent
#EB7A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E185A

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

Preview Lab → · Contrast checker → · Palette generator →

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