#7F1661#7F1661

#7F1661 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.158 H 342.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7F1661
RGBrgb(127, 22, 97)
HSLhsl(317, 70%, 29%)
HSVhsv(317, 83%, 50%)
CMYKcmyk(0%, 82.7%, 23.6%, 50.2%)
CIE-LABlab(29.29, 49.91, -17.45)
CIE-LCHlch(29.29, 52.87, 340.73°)
OKLaboklab(41.14% 0.1506 -0.0468)
OKLCHoklch(41.14% 0.158 342.7)
XYZxyz(11.1974, 5.9501, 11.8657)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1661 #167F34
analogous
#69167F #7F1661 #7F162D
triadic
#7F1661 #617F16 #16617F
tetradic
#7F1661 #7F6916 #167F34 #162D7F
square
#7F1661 #7F6916 #167F34 #162D7F
split-complementary
#7F1661 #2D7F16 #167F69
monochromatic
#1A0514 #4B0D39 #7F1661 #B31F89 #DC34AC

Accessibility & contrast

On white

9.59
#7F1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1661
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1661#FFFFFF#000000##FFFFFF
##7F16611.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#88173A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1661;
/* rgb */ color: rgb(127, 22, 97);
/* oklch */ color: oklch(41.1% 0.158 342.7);
Tailwind
colors: {
  custom: {
    50: '#a8618e',
    500: '#7f1661',
    950: '#000000',
  },
}
SCSS
$custom: #7f1661;
$custom-light: #a8618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1661",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 317.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.15767,
    "h": 342.7
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7F1661
secondary
#3DB45F
accent
#ED6E3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1661

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

Preview Lab → · Contrast checker → · Palette generator →

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