#7D1164#7D1164

#7D1164 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.163 H 340.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D1164
RGBrgb(125, 17, 100)
HSLhsl(314, 76%, 28%)
HSVhsv(314, 86%, 49%)
CMYKcmyk(0%, 86.4%, 20%, 51%)
CIE-LABlab(28.60, 51.13, -20.50)
CIE-LCHlch(28.60, 55.09, 338.15°)
OKLaboklab(40.62% 0.153 -0.0555)
OKLCHoklch(40.62% 0.163 340.1)
XYZxyz(10.9585, 5.6821, 12.5738)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1164 #117D2A
analogous
#60117D #7D1164 #7D112E
triadic
#7D1164 #647D11 #11647D
tetradic
#7D1164 #7D6011 #117D2A #112E7D
square
#7D1164 #7D6011 #117D2A #112E7D
split-complementary
#7D1164 #2E7D11 #117D60
monochromatic
#1B0416 #470A39 #7D1164 #B3188F #E227B6

Accessibility & contrast

On white

9.83
#7D1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1164
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1164#FFFFFF#000000##FFFFFF
##7D11641.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3966
Deuteranopia (green-blind)
#404962
Tritanopia (blue-blind)
#85163B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1164;
/* rgb */ color: rgb(125, 17, 100);
/* oklch */ color: oklch(40.6% 0.163 340.1);
Tailwind
colors: {
  custom: {
    50: '#a65f90',
    500: '#7d1164',
    950: '#000000',
  },
}
SCSS
$custom: #7d1164;
$custom-light: #a65f90;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1164",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 313.889,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.16275,
    "h": 340.1
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#7D1164
secondary
#37B353
accent
#F36135
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1164

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

Preview Lab → · Contrast checker → · Palette generator →

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