#7F1E55#7F1E55

#7F1E55 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.142 H 350.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1E55
RGBrgb(127, 30, 85)
HSLhsl(326, 62%, 31%)
HSVhsv(326, 76%, 50%)
CMYKcmyk(0%, 76.4%, 33.1%, 50.2%)
CIE-LABlab(29.66, 45.80, -9.03)
CIE-LCHlch(29.66, 46.68, 348.84°)
OKLaboklab(41.24% 0.14 -0.0235)
OKLCHoklch(41.24% 0.142 350.5)
XYZxyz(10.8570, 6.0977, 9.1978)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E55 #1E7F48
analogous
#781E7F #7F1E55 #7F1E25
triadic
#7F1E55 #557F1E #1E557F
tetradic
#7F1E55 #7F781E #1E7F48 #1E257F
square
#7F1E55 #7F781E #1E7F48 #1E257F
split-complementary
#7F1E55 #257F1E #1E7F78
monochromatic
#1C0713 #4D1234 #7F1E55 #B12A76 #D34495

Accessibility & contrast

On white

9.46
#7F1E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E55
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E55#FFFFFF#000000##FFFFFF
##7F1E551.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#891837
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1e55;
/* rgb */ color: rgb(127, 30, 85);
/* oklch */ color: oklch(41.2% 0.142 350.5);
Tailwind
colors: {
  custom: {
    50: '#a86484',
    500: '#7f1e55',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e55;
$custom-light: #a86484;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e55",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 325.979,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.14199,
    "h": 350.5
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7F1E55
secondary
#47B275
accent
#E58943
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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