#7E1652#7E1652

#7E1652 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 351.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1652
RGBrgb(126, 22, 82)
HSLhsl(325, 70%, 29%)
HSVhsv(325, 83%, 49%)
CMYKcmyk(0%, 82.5%, 34.9%, 50.6%)
CIE-LABlab(28.43, 47.74, -8.93)
CIE-LCHlch(28.43, 48.57, 349.41°)
OKLaboklab(40.27% 0.1464 -0.0232)
OKLCHoklch(40.27% 0.148 351)
XYZxyz(10.4147, 5.6199, 8.5173)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1652 #167E42
analogous
#76167E #7E1652 #7E161E
triadic
#7E1652 #527E16 #16527E
tetradic
#7E1652 #7E7616 #167E42 #161E7E
square
#7E1652 #7E7616 #167E42 #161E7E
split-complementary
#7E1652 #1E7E16 #167E76
monochromatic
#1A0511 #4A0D30 #7E1652 #B21F74 #DB3394

Accessibility & contrast

On white

9.89
#7E1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1652
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1652#FFFFFF#000000##FFFFFF
##7E16521.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#880C32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1652;
/* rgb */ color: rgb(126, 22, 82);
/* oklch */ color: oklch(40.3% 0.148 351.0);
Tailwind
colors: {
  custom: {
    50: '#a86082',
    500: '#7e1652',
    950: '#000000',
  },
}
SCSS
$custom: #7e1652;
$custom-light: #a86082;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1652",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 325.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.14826,
    "h": 351
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#7E1652
secondary
#3DB36F
accent
#ED863B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1652

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

Preview Lab → · Contrast checker → · Palette generator →

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