#7E185D#7E185D

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

Color values

HEX#7E185D
RGBrgb(126, 24, 93)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 49%)
CMYKcmyk(0%, 81%, 26.2%, 50.6%)
CIE-LABlab(29.11, 48.54, -15.13)
CIE-LCHlch(29.11, 50.84, 342.69°)
OKLaboklab(40.91% 0.1471 -0.0403)
OKLCHoklch(40.91% 0.153 344.7)
XYZxyz(10.9071, 5.8804, 10.9144)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E185D #187E39
analogous
#6C187E #7E185D #7E182A
triadic
#7E185D #5D7E18 #185D7E
tetradic
#7E185D #7E6C18 #187E39 #182A7E
square
#7E185D #7E6C18 #187E39 #182A7E
split-complementary
#7E185D #2A7E18 #187E6C
monochromatic
#1A0513 #4B0E37 #7E185D #B12283 #D937A5

Accessibility & contrast

On white

9.65
#7E185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E185D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E185D#FFFFFF#000000##FFFFFF
##7E185D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#871739
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e185d;
/* rgb */ color: rgb(126, 24, 93);
/* oklch */ color: oklch(40.9% 0.153 344.7);
Tailwind
colors: {
  custom: {
    50: '#a7628b',
    500: '#7e185d',
    950: '#000000',
  },
}
SCSS
$custom: #7e185d;
$custom-light: #a7628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e185d",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 319.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.15254,
    "h": 344.7
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7E185D
secondary
#3FB265
accent
#EB753D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E185D

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

Preview Lab → · Contrast checker → · Palette generator →

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