#7F1E54#7F1E54

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

Color values

HEX#7F1E54
RGBrgb(127, 30, 84)
HSLhsl(327, 62%, 31%)
HSVhsv(327, 76%, 50%)
CMYKcmyk(0%, 76.4%, 33.9%, 50.2%)
CIE-LABlab(29.62, 45.68, -8.44)
CIE-LCHlch(29.62, 46.45, 349.53°)
OKLaboklab(41.2% 0.1398 -0.0219)
OKLCHoklch(41.2% 0.141 351.1)
XYZxyz(10.8175, 6.0819, 8.9900)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E54 #1E7F49
analogous
#791E7F #7F1E54 #7F1E23
triadic
#7F1E54 #547F1E #1E547F
tetradic
#7F1E54 #7F791E #1E7F49 #1E237F
square
#7F1E54 #7F791E #1E7F49 #1E237F
split-complementary
#7F1E54 #237F1E #1E7F79
monochromatic
#1C0713 #4D1233 #7F1E54 #B12A75 #D34494

Accessibility & contrast

On white

9.48
#7F1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E54
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E54#FFFFFF#000000##FFFFFF
##7F1E541.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#891736
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1e54;
/* rgb */ color: rgb(127, 30, 84);
/* oklch */ color: oklch(41.2% 0.141 351.1);
Tailwind
colors: {
  custom: {
    50: '#a86484',
    500: '#7f1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e54;
$custom-light: #a86484;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e54",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 326.598,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.14145,
    "h": 351.1
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#7F1E54
secondary
#47B276
accent
#E58B43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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