#7E1955#7E1955

#7E1955 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.147 H 349.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7E1955
RGBrgb(126, 25, 85)
HSLhsl(324, 67%, 30%)
HSVhsv(324, 80%, 49%)
CMYKcmyk(0%, 80.2%, 32.5%, 50.6%)
CIE-LABlab(28.87, 47.20, -10.24)
CIE-LCHlch(28.87, 48.30, 347.75°)
OKLaboklab(40.63% 0.1444 -0.0268)
OKLCHoklch(40.63% 0.147 349.5)
XYZxyz(10.5921, 5.7880, 9.1520)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1955 #197E42
analogous
#74197E #7E1955 #7E1923
triadic
#7E1955 #557E19 #19557E
tetradic
#7E1955 #7E7419 #197E42 #19237E
square
#7E1955 #7E7419 #197E42 #19237E
split-complementary
#7E1955 #237E19 #197E74
monochromatic
#1A0511 #4B0F33 #7E1955 #B12377 #D83A98

Accessibility & contrast

On white

9.73
#7E1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1955
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1955#FFFFFF#000000##FFFFFF
##7E19551.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3957
Deuteranopia (green-blind)
#484A53
Tritanopia (blue-blind)
#881235
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1955;
/* rgb */ color: rgb(126, 25, 85);
/* oklch */ color: oklch(40.6% 0.147 349.5);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7e1955',
    950: '#000000',
  },
}
SCSS
$custom: #7e1955;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1955",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 324.356,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.14683,
    "h": 349.5
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#7E1955
secondary
#41B26F
accent
#EA843E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1955

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

Preview Lab → · Contrast checker → · Palette generator →

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