#7E1E6D#7E1E6D

#7E1E6D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.157 H 336.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7E1E6D
RGBrgb(126, 30, 109)
HSLhsl(311, 62%, 31%)
HSVhsv(311, 76%, 49%)
CMYKcmyk(0%, 76.2%, 13.5%, 50.6%)
CIE-LABlab(30.57, 48.92, -23.21)
CIE-LCHlch(30.57, 54.14, 334.61°)
OKLaboklab(42.22% 0.1436 -0.0633)
OKLCHoklch(42.22% 0.157 336.2)
XYZxyz(11.8290, 6.4694, 15.0908)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E6D #1E7E2F
analogous
#5F1E7E #7E1E6D #7E1E3D
triadic
#7E1E6D #6D7E1E #1E6D7E
tetradic
#7E1E6D #7E5F1E #1E7E2F #1E3D7E
square
#7E1E6D #7E5F1E #1E7E2F #1E3D7E
split-complementary
#7E1E6D #3D7E1E #1E7E5F
monochromatic
#1B0617 #4D1242 #7E1E6D #AF2A98 #D244B9

Accessibility & contrast

On white

9.16
#7E1E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E1E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E6D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E6D#FFFFFF#000000##FFFFFF
##7E1E6D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#852543
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1e6d;
/* rgb */ color: rgb(126, 30, 109);
/* oklch */ color: oklch(42.2% 0.157 336.2);
Tailwind
colors: {
  custom: {
    50: '#a76497',
    500: '#7e1e6d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e6d;
$custom-light: #a76497;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e6d",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 310.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.15688,
    "h": 336.2
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#7E1E6D
secondary
#47B159
accent
#E56043
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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