#7F1461#7F1461

#7F1461 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 342.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F1461
RGBrgb(127, 20, 97)
HSLhsl(317, 73%, 29%)
HSVhsv(317, 84%, 50%)
CMYKcmyk(0%, 84.3%, 23.6%, 50.2%)
CIE-LABlab(29.10, 50.45, -17.74)
CIE-LCHlch(29.10, 53.48, 340.63°)
OKLaboklab(41% 0.1522 -0.0476)
OKLCHoklch(41% 0.159 342.6)
XYZxyz(11.1607, 5.8766, 11.8535)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1461 #147F32
analogous
#68147F #7F1461 #7F142C
triadic
#7F1461 #617F14 #14617F
tetradic
#7F1461 #7F6814 #147F32 #142C7F
square
#7F1461 #7F6814 #147F32 #142C7F
split-complementary
#7F1461 #2C7F14 #147F68
monochromatic
#1A0414 #4A0C39 #7F1461 #B41C89 #DE2FAD

Accessibility & contrast

On white

9.66
#7F1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1461
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1461#FFFFFF#000000##FFFFFF
##7F14611.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A63
Deuteranopia (green-blind)
#434B5F
Tritanopia (blue-blind)
#88153A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1461;
/* rgb */ color: rgb(127, 20, 97);
/* oklch */ color: oklch(41.0% 0.159 342.6);
Tailwind
colors: {
  custom: {
    50: '#a8608e',
    500: '#7f1461',
    950: '#000000',
  },
}
SCSS
$custom: #7f1461;
$custom-light: #a8608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1461",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 316.822,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.15949,
    "h": 342.6
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#7F1461
secondary
#3BB45D
accent
#EF6C38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1461

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

Preview Lab → · Contrast checker → · Palette generator →

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