#7E185B#7E185B

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

Color values

HEX#7E185B
RGBrgb(126, 24, 91)
HSLhsl(321, 68%, 29%)
HSVhsv(321, 81%, 49%)
CMYKcmyk(0%, 81%, 27.8%, 50.6%)
CIE-LABlab(29.02, 48.28, -13.96)
CIE-LCHlch(29.02, 50.25, 343.87°)
OKLaboklab(40.82% 0.1467 -0.0371)
OKLCHoklch(40.82% 0.151 345.8)
XYZxyz(10.8196, 5.8454, 10.4540)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E185B #187E3B
analogous
#6E187E #7E185B #7E1828
triadic
#7E185B #5B7E18 #185B7E
tetradic
#7E185B #7E6E18 #187E3B #18287E
square
#7E185B #7E6E18 #187E3B #18287E
split-complementary
#7E185B #287E18 #187E6E
monochromatic
#1A0513 #4B0E36 #7E185B #B12280 #D937A2

Accessibility & contrast

On white

9.68
#7E185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E185B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E185B#FFFFFF#000000##FFFFFF
##7E185B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#871538
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e185b;
/* rgb */ color: rgb(126, 24, 91);
/* oklch */ color: oklch(40.8% 0.151 345.8);
Tailwind
colors: {
  custom: {
    50: '#a76189',
    500: '#7e185b',
    950: '#000000',
  },
}
SCSS
$custom: #7e185b;
$custom-light: #a76189;
$custom-dark: #000000;
JSON
{
  "hex": "#7e185b",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 320.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.15132,
    "h": 345.8
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#7E185B
secondary
#3FB267
accent
#EB793D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E185B

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

Preview Lab → · Contrast checker → · Palette generator →

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