#7F165E#7F165E

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

Color values

HEX#7F165E
RGBrgb(127, 22, 94)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 83%, 50%)
CMYKcmyk(0%, 82.7%, 26%, 50.2%)
CIE-LABlab(29.15, 49.51, -15.71)
CIE-LCHlch(29.15, 51.94, 342.39°)
OKLaboklab(40.99% 0.15 -0.0419)
OKLCHoklch(40.99% 0.156 344.4)
XYZxyz(11.0602, 5.8952, 11.1429)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F165E #167F37
analogous
#6C167F #7F165E #7F162A
triadic
#7F165E #5E7F16 #165E7F
tetradic
#7F165E #7F6C16 #167F37 #162A7F
square
#7F165E #7F6C16 #167F37 #162A7F
split-complementary
#7F165E #2A7F16 #167F6C
monochromatic
#1A0513 #4B0D37 #7F165E #B31F85 #DC34A7

Accessibility & contrast

On white

9.64
#7F165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F165E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F165E#FFFFFF#000000##FFFFFF
##7F165E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#881539
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f165e;
/* rgb */ color: rgb(127, 22, 94);
/* oklch */ color: oklch(41.0% 0.156 344.4);
Tailwind
colors: {
  custom: {
    50: '#a8618b',
    500: '#7f165e',
    950: '#000000',
  },
}
SCSS
$custom: #7f165e;
$custom-light: #a8618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f165e",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 318.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40992,
    "c": 0.15579,
    "h": 344.4
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#7F165E
secondary
#3DB462
accent
#ED733B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F165E

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

Preview Lab → · Contrast checker → · Palette generator →

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