#7F1B60#7F1B60

#7F1B60 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.152 H 343.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7F1B60
RGBrgb(127, 27, 96)
HSLhsl(319, 65%, 30%)
HSVhsv(319, 79%, 50%)
CMYKcmyk(0%, 78.7%, 24.4%, 50.2%)
CIE-LABlab(29.77, 48.27, -16.06)
CIE-LCHlch(29.77, 50.87, 341.60°)
OKLaboklab(41.47% 0.1457 -0.0429)
OKLCHoklch(41.47% 0.152 343.6)
XYZxyz(11.2561, 6.1416, 11.6567)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B60 #1B7F3A
analogous
#6C1B7F #7F1B60 #7F1B2E
triadic
#7F1B60 #607F1B #1B607F
tetradic
#7F1B60 #7F6C1B #1B7F3A #1B2E7F
square
#7F1B60 #7F6C1B #1B7F3A #1B2E7F
split-complementary
#7F1B60 #2E7F1B #1B7F6C
monochromatic
#1A0614 #4D103A #7F1B60 #B12686 #D63EA7

Accessibility & contrast

On white

9.43
#7F1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B60
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B60#FFFFFF#000000##FFFFFF
##7F1B601.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C62
Deuteranopia (green-blind)
#464C5E
Tritanopia (blue-blind)
#881B3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1b60;
/* rgb */ color: rgb(127, 27, 96);
/* oklch */ color: oklch(41.5% 0.152 343.6);
Tailwind
colors: {
  custom: {
    50: '#a8638d',
    500: '#7f1b60',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b60;
$custom-light: #a8638d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b60",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 318.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.15193,
    "h": 343.6
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#7F1B60
secondary
#43B366
accent
#E87440
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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