#7E1E6B#7E1E6B

#7E1E6B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 337.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7E1E6B
RGBrgb(126, 30, 107)
HSLhsl(312, 62%, 31%)
HSVhsv(312, 76%, 49%)
CMYKcmyk(0%, 76.2%, 15.1%, 50.6%)
CIE-LABlab(30.46, 48.61, -22.09)
CIE-LCHlch(30.46, 53.39, 335.56°)
OKLaboklab(42.11% 0.1433 -0.0601)
OKLCHoklch(42.11% 0.155 337.3)
XYZxyz(11.7225, 6.4268, 14.5302)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E6B #1E7E31
analogous
#611E7E #7E1E6B #7E1E3B
triadic
#7E1E6B #6B7E1E #1E6B7E
tetradic
#7E1E6B #7E611E #1E7E31 #1E3B7E
square
#7E1E6B #7E611E #1E7E31 #1E3B7E
split-complementary
#7E1E6B #3B7E1E #1E7E61
monochromatic
#1B0617 #4D1241 #7E1E6B #AF2A95 #D244B6

Accessibility & contrast

On white

9.19
#7E1E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E6B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E6B#FFFFFF#000000##FFFFFF
##7E1E6B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#852442
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1e6b;
/* rgb */ color: rgb(126, 30, 107);
/* oklch */ color: oklch(42.1% 0.155 337.3);
Tailwind
colors: {
  custom: {
    50: '#a76495',
    500: '#7e1e6b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e6b;
$custom-light: #a76495;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e6b",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 311.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.15541,
    "h": 337.3
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#7E1E6B
secondary
#47B15C
accent
#E56343
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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