#7E1867#7E1867

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

Color values

HEX#7E1867
RGBrgb(126, 24, 103)
HSLhsl(314, 68%, 29%)
HSVhsv(314, 81%, 49%)
CMYKcmyk(0%, 81%, 18.3%, 50.6%)
CIE-LABlab(29.59, 49.94, -20.89)
CIE-LCHlch(29.59, 54.13, 337.30°)
OKLaboklab(41.41% 0.1487 -0.0566)
OKLCHoklch(41.41% 0.159 339.2)
XYZxyz(11.3793, 6.0693, 13.4015)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1867 #187E2F
analogous
#62187E #7E1867 #7E1834
triadic
#7E1867 #677E18 #18677E
tetradic
#7E1867 #7E6218 #187E2F #18347E
square
#7E1867 #7E6218 #187E2F #18347E
split-complementary
#7E1867 #347E18 #187E62
monochromatic
#1A0515 #4B0E3D #7E1867 #B12291 #D937B5

Accessibility & contrast

On white

9.49
#7E1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1867
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1867#FFFFFF#000000##FFFFFF
##7E18671.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861D3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1867;
/* rgb */ color: rgb(126, 24, 103);
/* oklch */ color: oklch(41.4% 0.159 339.2);
Tailwind
colors: {
  custom: {
    50: '#a76292',
    500: '#7e1867',
    950: '#000000',
  },
}
SCSS
$custom: #7e1867;
$custom-light: #a76292;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1867",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 313.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.15909,
    "h": 339.2
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#7E1867
secondary
#3FB259
accent
#EB643D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1867

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

Preview Lab → · Contrast checker → · Palette generator →

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