#7F165A#7F165A

#7F165A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.153 H 346.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F165A
RGBrgb(127, 22, 90)
HSLhsl(321, 70%, 29%)
HSVhsv(321, 83%, 50%)
CMYKcmyk(0%, 82.7%, 29.1%, 50.2%)
CIE-LABlab(28.97, 48.99, -13.37)
CIE-LCHlch(28.97, 50.78, 344.74°)
OKLaboklab(40.8% 0.1493 -0.0354)
OKLCHoklch(40.8% 0.153 346.7)
XYZxyz(10.8853, 5.8253, 10.2220)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F165A #167F3B
analogous
#70167F #7F165A #7F1626
triadic
#7F165A #5A7F16 #165A7F
tetradic
#7F165A #7F7016 #167F3B #16267F
square
#7F165A #7F7016 #167F3B #16267F
split-complementary
#7F165A #267F16 #167F70
monochromatic
#1A0512 #4B0D35 #7F165A #B31F7F #DC34A1

Accessibility & contrast

On white

9.70
#7F165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F165A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F165A#FFFFFF#000000##FFFFFF
##7F165A1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f165a;
/* rgb */ color: rgb(127, 22, 90);
/* oklch */ color: oklch(40.8% 0.153 346.7);
Tailwind
colors: {
  custom: {
    50: '#a86188',
    500: '#7f165a',
    950: '#000000',
  },
}
SCSS
$custom: #7f165a;
$custom-light: #a86188;
$custom-dark: #000000;
JSON
{
  "hex": "#7f165a",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 321.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.15339,
    "h": 346.7
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#7F165A
secondary
#3DB467
accent
#ED7A3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F165A

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

Preview Lab → · Contrast checker → · Palette generator →

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