#7E1567#7E1567

#7E1567 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.162 H 339.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E1567
RGBrgb(126, 21, 103)
HSLhsl(313, 71%, 29%)
HSVhsv(313, 83%, 49%)
CMYKcmyk(0%, 83.3%, 18.3%, 50.6%)
CIE-LABlab(29.29, 50.78, -21.35)
CIE-LCHlch(29.29, 55.09, 337.20°)
OKLaboklab(41.2% 0.1512 -0.0579)
OKLCHoklch(41.2% 0.162 339.1)
XYZxyz(11.3208, 5.9524, 13.3820)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1567 #157E2C
analogous
#61157E #7E1567 #7E1533
triadic
#7E1567 #677E15 #15677E
tetradic
#7E1567 #7E6115 #157E2C #15337E
square
#7E1567 #7E6115 #157E2C #15337E
split-complementary
#7E1567 #337E15 #157E61
monochromatic
#1A0415 #4A0C3C #7E1567 #B21E92 #DD31B7

Accessibility & contrast

On white

9.59
#7E1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1567
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1567#FFFFFF#000000##FFFFFF
##7E15671.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861A3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1567;
/* rgb */ color: rgb(126, 21, 103);
/* oklch */ color: oklch(41.2% 0.162 339.1);
Tailwind
colors: {
  custom: {
    50: '#a76192',
    500: '#7e1567',
    950: '#000000',
  },
}
SCSS
$custom: #7e1567;
$custom-light: #a76192;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1567",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 313.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.16194,
    "h": 339.1
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#7E1567
secondary
#3CB356
accent
#EE613A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1567

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

Preview Lab → · Contrast checker → · Palette generator →

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