#7F1756#7F1756

#7F1756 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.150 H 349.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7F1756
RGBrgb(127, 23, 86)
HSLhsl(324, 69%, 29%)
HSVhsv(324, 82%, 50%)
CMYKcmyk(0%, 81.9%, 32.3%, 50.2%)
CIE-LABlab(28.90, 48.20, -10.85)
CIE-LCHlch(28.90, 49.40, 347.32°)
OKLaboklab(40.7% 0.1474 -0.0284)
OKLCHoklch(40.7% 0.15 349.1)
XYZxyz(10.7391, 5.7980, 9.3559)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1756 #177F40
analogous
#74177F #7F1756 #7F1722
triadic
#7F1756 #567F17 #17567F
tetradic
#7F1756 #7F7417 #177F40 #17227F
square
#7F1756 #7F7417 #177F40 #17227F
split-complementary
#7F1756 #227F17 #177F74
monochromatic
#1A0512 #4B0E33 #7F1756 #B32079 #DB369A

Accessibility & contrast

On white

9.72
#7F1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1756
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1756#FFFFFF#000000##FFFFFF
##7F17561.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891035
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1756;
/* rgb */ color: rgb(127, 23, 86);
/* oklch */ color: oklch(40.7% 0.150 349.1);
Tailwind
colors: {
  custom: {
    50: '#a86185',
    500: '#7f1756',
    950: '#000000',
  },
}
SCSS
$custom: #7f1756;
$custom-light: #a86185;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1756",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 323.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.15015,
    "h": 349.1
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#7F1756
secondary
#3EB46C
accent
#EC813C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1756

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

Preview Lab → · Contrast checker → · Palette generator →

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