#7F1654#7F1654

#7F1654 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.150 H 350.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7F1654
RGBrgb(127, 22, 84)
HSLhsl(325, 70%, 29%)
HSVhsv(325, 83%, 50%)
CMYKcmyk(0%, 82.7%, 33.9%, 50.2%)
CIE-LABlab(28.71, 48.25, -9.81)
CIE-LCHlch(28.71, 49.23, 348.51°)
OKLaboklab(40.54% 0.1479 -0.0256)
OKLCHoklch(40.54% 0.15 350.2)
XYZxyz(10.6402, 5.7272, 8.9309)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1654 #167F41
analogous
#76167F #7F1654 #7F1620
triadic
#7F1654 #547F16 #16547F
tetradic
#7F1654 #7F7616 #167F41 #16207F
square
#7F1654 #7F7616 #167F41 #16207F
split-complementary
#7F1654 #207F16 #167F76
monochromatic
#1A0511 #4B0D31 #7F1654 #B31F77 #DC3497

Accessibility & contrast

On white

9.79
#7F1654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1654
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1654#FFFFFF#000000##FFFFFF
##7F16541.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#890D33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1654;
/* rgb */ color: rgb(127, 22, 84);
/* oklch */ color: oklch(40.5% 0.150 350.2);
Tailwind
colors: {
  custom: {
    50: '#a86184',
    500: '#7f1654',
    950: '#000000',
  },
}
SCSS
$custom: #7f1654;
$custom-light: #a86184;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1654",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 324.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.15004,
    "h": 350.2
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7F1654
secondary
#3DB46E
accent
#ED843B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1654

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

Preview Lab → · Contrast checker → · Palette generator →

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