#7F1462#7F1462

#7F1462 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.160 H 342.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F1462
RGBrgb(127, 20, 98)
HSLhsl(316, 73%, 29%)
HSVhsv(316, 84%, 50%)
CMYKcmyk(0%, 84.3%, 22.8%, 50.2%)
CIE-LABlab(29.15, 50.59, -18.32)
CIE-LCHlch(29.15, 53.80, 340.10°)
OKLaboklab(41.05% 0.1524 -0.0492)
OKLCHoklch(41.05% 0.16 342.1)
XYZxyz(11.2076, 5.8954, 12.1006)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1462 #147F31
analogous
#67147F #7F1462 #7F142D
triadic
#7F1462 #627F14 #14627F
tetradic
#7F1462 #7F6714 #147F31 #142D7F
square
#7F1462 #7F6714 #147F31 #142D7F
split-complementary
#7F1462 #2D7F14 #147F67
monochromatic
#1A0414 #4A0C39 #7F1462 #B41C8B #DE2FAF

Accessibility & contrast

On white

9.64
#7F1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1462
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1462#FFFFFF#000000##FFFFFF
##7F14621.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#87163A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1462;
/* rgb */ color: rgb(127, 20, 98);
/* oklch */ color: oklch(41.1% 0.160 342.1);
Tailwind
colors: {
  custom: {
    50: '#a8618f',
    500: '#7f1462',
    950: '#000000',
  },
}
SCSS
$custom: #7f1462;
$custom-light: #a8618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1462",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 316.262,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.16013,
    "h": 342.1
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#7F1462
secondary
#3BB45C
accent
#EF6A38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1462

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

Preview Lab → · Contrast checker → · Palette generator →

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