#7E1B68#7E1B68

#7E1B68 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.157 H 338.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7E1B68
RGBrgb(126, 27, 104)
HSLhsl(313, 65%, 30%)
HSVhsv(313, 79%, 49%)
CMYKcmyk(0%, 78.6%, 17.5%, 50.6%)
CIE-LABlab(29.96, 49.16, -20.95)
CIE-LCHlch(29.96, 53.43, 336.92°)
OKLaboklab(41.7% 0.146 -0.0568)
OKLCHoklch(41.7% 0.157 338.7)
XYZxyz(11.4951, 6.2201, 13.6892)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B68 #1B7E31
analogous
#621B7E #7E1B68 #7E1B37
triadic
#7E1B68 #687E1B #1B687E
tetradic
#7E1B68 #7E621B #1B7E31 #1B377E
square
#7E1B68 #7E621B #1B7E31 #1B377E
split-complementary
#7E1B68 #377E1B #1B7E62
monochromatic
#190515 #4C103E #7E1B68 #B02692 #D63EB4

Accessibility & contrast

On white

9.36
#7E1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B68
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B68#FFFFFF#000000##FFFFFF
##7E1B681.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#852040
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1b68;
/* rgb */ color: rgb(126, 27, 104);
/* oklch */ color: oklch(41.7% 0.157 338.7);
Tailwind
colors: {
  custom: {
    50: '#a76393',
    500: '#7e1b68',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b68;
$custom-light: #a76393;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b68",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 313.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.15664,
    "h": 338.7
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#7E1B68
secondary
#43B25C
accent
#E86540
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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