#7F1A4E#7F1A4E

#7F1A4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 354.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7F1A4E
RGBrgb(127, 26, 78)
HSLhsl(329, 66%, 30%)
HSVhsv(329, 80%, 50%)
CMYKcmyk(0%, 79.5%, 38.6%, 50.2%)
CIE-LABlab(28.91, 46.33, -5.54)
CIE-LCHlch(28.91, 46.66, 353.18°)
OKLaboklab(40.6% 0.1423 -0.014)
OKLCHoklch(40.6% 0.143 354.4)
XYZxyz(10.4976, 5.8022, 7.7734)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A4E #1A7F4B
analogous
#7E1A7F #7F1A4E #7F1A1B
triadic
#7F1A4E #4E7F1A #1A4E7F
tetradic
#7F1A4E #7F7E1A #1A7F4B #1A1B7F
square
#7F1A4E #7F7E1A #1A7F4B #1A1B7F
split-complementary
#7F1A4E #1B7F1A #1A7F7E
monochromatic
#190510 #4C102F #7F1A4E #B2246D #D73C8C

Accessibility & contrast

On white

9.72
#7F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A4E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A4E#FFFFFF#000000##FFFFFF
##7F1A4E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#890E31
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1a4e;
/* rgb */ color: rgb(127, 26, 78);
/* oklch */ color: oklch(40.6% 0.143 354.4);
Tailwind
colors: {
  custom: {
    50: '#a8627f',
    500: '#7f1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a4e;
$custom-light: #a8627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a4e",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 329.109,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.143,
    "h": 354.4
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#7F1A4E
secondary
#42B379
accent
#E9913F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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