#7F2164#7F2164

#7F2164 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 341.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2164
RGBrgb(127, 33, 100)
HSLhsl(317, 59%, 31%)
HSVhsv(317, 74%, 50%)
CMYKcmyk(0%, 74%, 21.3%, 50.2%)
CIE-LABlab(30.69, 46.74, -17.22)
CIE-LCHlch(30.69, 49.81, 339.77°)
OKLaboklab(42.2% 0.1401 -0.0463)
OKLCHoklch(42.2% 0.148 341.7)
XYZxyz(11.5969, 6.5210, 12.7021)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2164 #217F3C
analogous
#6B217F #7F2164 #7F2135
triadic
#7F2164 #647F21 #21647F
tetradic
#7F2164 #7F6B21 #217F3C #21357F
square
#7F2164 #7F6B21 #217F3C #21357F
split-complementary
#7F2164 #357F21 #217F6B
monochromatic
#1E0818 #4E143E #7F2164 #B02E8A #D04AAA

Accessibility & contrast

On white

9.11
#7F2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2164
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2164#FFFFFF#000000##FFFFFF
##7F21641.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E66
Deuteranopia (green-blind)
#464E62
Tritanopia (blue-blind)
#87223F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2164;
/* rgb */ color: rgb(127, 33, 100);
/* oklch */ color: oklch(42.2% 0.147 341.7);
Tailwind
colors: {
  custom: {
    50: '#a76690',
    500: '#7f2164',
    950: '#000000',
  },
}
SCSS
$custom: #7f2164;
$custom-light: #a76690;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2164",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 317.234,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.1475,
    "h": 341.7
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#7F2164
secondary
#4AB268
accent
#E27346
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F2164

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

Preview Lab → · Contrast checker → · Palette generator →

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