#7E1968#7E1968

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

Color values

HEX#7E1968
RGBrgb(126, 25, 104)
HSLhsl(313, 67%, 30%)
HSVhsv(313, 80%, 49%)
CMYKcmyk(0%, 80.2%, 17.5%, 50.6%)
CIE-LABlab(29.74, 49.78, -21.29)
CIE-LCHlch(29.74, 54.15, 336.84°)
OKLaboklab(41.54% 0.1479 -0.0577)
OKLCHoklch(41.54% 0.159 338.7)
XYZxyz(11.4508, 6.1315, 13.6745)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1968 #197E2F
analogous
#61197E #7E1968 #7E1936
triadic
#7E1968 #687E19 #19687E
tetradic
#7E1968 #7E6119 #197E2F #19367E
square
#7E1968 #7E6119 #197E2F #19367E
split-complementary
#7E1968 #367E19 #197E61
monochromatic
#1A0515 #4B0F3E #7E1968 #B12392 #D83AB5

Accessibility & contrast

On white

9.43
#7E1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1968
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1968#FFFFFF#000000##FFFFFF
##7E19681.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#414C66
Tritanopia (blue-blind)
#851E3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1968;
/* rgb */ color: rgb(126, 25, 104);
/* oklch */ color: oklch(41.5% 0.159 338.7);
Tailwind
colors: {
  custom: {
    50: '#a76293',
    500: '#7e1968',
    950: '#000000',
  },
}
SCSS
$custom: #7e1968;
$custom-light: #a76293;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1968",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 313.069,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.15876,
    "h": 338.7
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#7E1968
secondary
#41B259
accent
#EA633E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1968

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

Preview Lab → · Contrast checker → · Palette generator →

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