#7F1046#7F1046

#7F1046 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.149 H 358.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7F1046
RGBrgb(127, 16, 70)
HSLhsl(331, 78%, 28%)
HSVhsv(331, 87%, 50%)
CMYKcmyk(0%, 87.4%, 44.9%, 50.2%)
CIE-LABlab(27.64, 48.27, -2.07)
CIE-LCHlch(27.64, 48.31, 357.54°)
OKLaboklab(39.59% 0.1487 -0.0049)
OKLCHoklch(39.59% 0.149 358.1)
XYZxyz(10.0440, 5.3262, 6.2923)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1046 #107F49
analogous
#7F107D #7F1046 #7F1210
triadic
#7F1046 #467F10 #10467F
tetradic
#7F1046 #7D7F10 #107F49 #12107F
square
#7F1046 #7D7F10 #107F49 #12107F
split-complementary
#7F1046 #107F12 #107D7F
monochromatic
#1B030F #490928 #7F1046 #B51764 #E42682

Accessibility & contrast

On white

10.17
#7F1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1046
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1046#FFFFFF#000000##FFFFFF
##7F10461.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1046;
/* rgb */ color: rgb(127, 16, 70);
/* oklch */ color: oklch(39.6% 0.149 358.1);
Tailwind
colors: {
  custom: {
    50: '#a95e79',
    500: '#7f1046',
    950: '#000000',
  },
}
SCSS
$custom: #7f1046;
$custom-light: #a95e79;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1046",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 330.811,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.14876,
    "h": 358.1
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#7F1046
secondary
#36B577
accent
#F49734
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1046

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

Preview Lab → · Contrast checker → · Palette generator →

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