#7F155A#7F155A

#7F155A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 346.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7F155A
RGBrgb(127, 21, 90)
HSLhsl(321, 72%, 29%)
HSVhsv(321, 83%, 50%)
CMYKcmyk(0%, 83.5%, 29.1%, 50.2%)
CIE-LABlab(28.87, 49.27, -13.52)
CIE-LCHlch(28.87, 51.09, 344.66°)
OKLaboklab(40.73% 0.1501 -0.0358)
OKLCHoklch(40.73% 0.154 346.6)
XYZxyz(10.8666, 5.7878, 10.2158)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F155A #157F3A
analogous
#6F157F #7F155A #7F1525
triadic
#7F155A #5A7F15 #155A7F
tetradic
#7F155A #7F6F15 #157F3A #15257F
square
#7F155A #7F6F15 #157F3A #15257F
split-complementary
#7F155A #257F15 #157F6F
monochromatic
#1A0413 #4A0C35 #7F155A #B41E7F #DD31A1

Accessibility & contrast

On white

9.73
#7F155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F155A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F155A#FFFFFF#000000##FFFFFF
##7F155A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#881136
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f155a;
/* rgb */ color: rgb(127, 21, 90);
/* oklch */ color: oklch(40.7% 0.154 346.6);
Tailwind
colors: {
  custom: {
    50: '#a86188',
    500: '#7f155a',
    950: '#000000',
  },
}
SCSS
$custom: #7f155a;
$custom-light: #a86188;
$custom-dark: #000000;
JSON
{
  "hex": "#7f155a",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 320.943,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.15432,
    "h": 346.6
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#7F155A
secondary
#3CB466
accent
#EE7939
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F155A

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

Preview Lab → · Contrast checker → · Palette generator →

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