#7D2164#7D2164

#7D2164 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 340.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D2164
RGBrgb(125, 33, 100)
HSLhsl(316, 58%, 31%)
HSVhsv(316, 74%, 49%)
CMYKcmyk(0%, 73.6%, 20%, 51%)
CIE-LABlab(30.32, 46.20, -17.82)
CIE-LCHlch(30.32, 49.51, 338.91°)
OKLaboklab(41.87% 0.138 -0.048)
OKLCHoklch(41.87% 0.146 340.8)
XYZxyz(11.3019, 6.3689, 12.6882)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2164 #217D3A
analogous
#68217D #7D2164 #7D2136
triadic
#7D2164 #647D21 #21647D
tetradic
#7D2164 #7D6821 #217D3A #21367D
square
#7D2164 #7D6821 #217D3A #21367D
split-complementary
#7D2164 #367D21 #217D68
monochromatic
#1C0717 #4D143D #7D2164 #AD2E8B #CF49AB

Accessibility & contrast

On white

9.24
#7D2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2164
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2164#FFFFFF#000000##FFFFFF
##7D21641.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#85233F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2164;
/* rgb */ color: rgb(125, 33, 100);
/* oklch */ color: oklch(41.9% 0.146 340.8);
Tailwind
colors: {
  custom: {
    50: '#a66590',
    500: '#7d2164',
    950: '#000000',
  },
}
SCSS
$custom: #7d2164;
$custom-light: #a66590;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2164",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 316.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41866,
    "c": 0.14609,
    "h": 340.8
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#7D2164
secondary
#4AB066
accent
#E17046
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2164

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

Preview Lab → · Contrast checker → · Palette generator →

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