#7E1967#7E1967

#7E1967 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.158 H 339.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7E1967
RGBrgb(126, 25, 103)
HSLhsl(314, 67%, 30%)
HSVhsv(314, 80%, 49%)
CMYKcmyk(0%, 80.2%, 18.3%, 50.6%)
CIE-LABlab(29.69, 49.64, -20.72)
CIE-LCHlch(29.69, 53.79, 337.34°)
OKLaboklab(41.49% 0.1478 -0.0561)
OKLCHoklch(41.49% 0.158 339.2)
XYZxyz(11.4003, 6.1113, 13.4085)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1967 #197E30
analogous
#62197E #7E1967 #7E1935
triadic
#7E1967 #677E19 #19677E
tetradic
#7E1967 #7E6219 #197E30 #19357E
square
#7E1967 #7E6219 #197E30 #19357E
split-complementary
#7E1967 #357E19 #197E62
monochromatic
#1A0515 #4B0F3D #7E1967 #B12391 #D83AB4

Accessibility & contrast

On white

9.45
#7E1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1967
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1967#FFFFFF#000000##FFFFFF
##7E19671.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#424C65
Tritanopia (blue-blind)
#861E3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1967;
/* rgb */ color: rgb(126, 25, 103);
/* oklch */ color: oklch(41.5% 0.158 339.2);
Tailwind
colors: {
  custom: {
    50: '#a76292',
    500: '#7e1967',
    950: '#000000',
  },
}
SCSS
$custom: #7e1967;
$custom-light: #a76292;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1967",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 313.663,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.15806,
    "h": 339.2
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#7E1967
secondary
#41B25A
accent
#EA653E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1967

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

Preview Lab → · Contrast checker → · Palette generator →

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