#7F1E6E#7F1E6E

#7F1E6E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 336.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7F1E6E
RGBrgb(127, 30, 110)
HSLhsl(311, 62%, 31%)
HSVhsv(311, 76%, 50%)
CMYKcmyk(0%, 76.4%, 13.4%, 50.2%)
CIE-LABlab(30.80, 49.32, -23.47)
CIE-LCHlch(30.80, 54.62, 334.55°)
OKLaboklab(42.44% 0.1447 -0.064)
OKLCHoklch(42.44% 0.158 336.1)
XYZxyz(12.0313, 6.5675, 15.3828)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E6E #1E7F2F
analogous
#5F1E7F #7F1E6E #7F1E3E
triadic
#7F1E6E #6E7F1E #1E6E7F
tetradic
#7F1E6E #7F5F1E #1E7F2F #1E3E7F
square
#7F1E6E #7F5F1E #1E7F2F #1E3E7F
split-complementary
#7F1E6E #3E7F1E #1E7F5F
monochromatic
#1C0718 #4D1243 #7F1E6E #B12A99 #D344BA

Accessibility & contrast

On white

9.08
#7F1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E6E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E6E#FFFFFF#000000##FFFFFF
##7F1E6E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#414E6C
Tritanopia (blue-blind)
#862544
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1e6e;
/* rgb */ color: rgb(127, 30, 110);
/* oklch */ color: oklch(42.4% 0.158 336.1);
Tailwind
colors: {
  custom: {
    50: '#a76598',
    500: '#7f1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e6e;
$custom-light: #a76598;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e6e",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 310.515,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.15823,
    "h": 336.1
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#7F1E6E
secondary
#47B259
accent
#E55F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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