#7E1855#7E1855

#7E1855 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 349.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E1855
RGBrgb(126, 24, 85)
HSLhsl(324, 68%, 29%)
HSVhsv(324, 81%, 49%)
CMYKcmyk(0%, 81%, 32.5%, 50.6%)
CIE-LABlab(28.76, 47.51, -10.41)
CIE-LCHlch(28.76, 48.64, 347.64°)
OKLaboklab(40.55% 0.1453 -0.0272)
OKLCHoklch(40.55% 0.148 349.4)
XYZxyz(10.5711, 5.7460, 9.1450)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1855 #187E41
analogous
#74187E #7E1855 #7E1822
triadic
#7E1855 #557E18 #18557E
tetradic
#7E1855 #7E7418 #187E41 #18227E
square
#7E1855 #7E7418 #187E41 #18227E
split-complementary
#7E1855 #227E18 #187E74
monochromatic
#1A0511 #4B0E32 #7E1855 #B12278 #D93798

Accessibility & contrast

On white

9.77
#7E1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1855
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1855#FFFFFF#000000##FFFFFF
##7E18551.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3857
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#881134
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1855;
/* rgb */ color: rgb(126, 24, 85);
/* oklch */ color: oklch(40.5% 0.148 349.4);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7e1855',
    950: '#000000',
  },
}
SCSS
$custom: #7e1855;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1855",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 324.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.14787,
    "h": 349.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#7E1855
secondary
#3FB26E
accent
#EB833D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1855

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

Preview Lab → · Contrast checker → · Palette generator →

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