#7F165D#7F165D

#7F165D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 344.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7F165D
RGBrgb(127, 22, 93)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 83%, 50%)
CMYKcmyk(0%, 82.7%, 26.8%, 50.2%)
CIE-LABlab(29.10, 49.38, -15.13)
CIE-LCHlch(29.10, 51.64, 342.97°)
OKLaboklab(40.94% 0.1499 -0.0403)
OKLCHoklch(40.94% 0.155 344.9)
XYZxyz(11.0156, 5.8774, 10.9081)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F165D #167F38
analogous
#6D167F #7F165D #7F1628
triadic
#7F165D #5D7F16 #165D7F
tetradic
#7F165D #7F6D16 #167F38 #16287F
square
#7F165D #7F6D16 #167F38 #16287F
split-complementary
#7F165D #287F16 #167F6D
monochromatic
#1A0513 #4B0D37 #7F165D #B31F83 #DC34A5

Accessibility & contrast

On white

9.65
#7F165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F165D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F165D#FFFFFF#000000##FFFFFF
##7F165D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#881438
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f165d;
/* rgb */ color: rgb(127, 22, 93);
/* oklch */ color: oklch(40.9% 0.155 344.9);
Tailwind
colors: {
  custom: {
    50: '#a8618b',
    500: '#7f165d',
    950: '#000000',
  },
}
SCSS
$custom: #7f165d;
$custom-light: #a8618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f165d",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 319.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.15517,
    "h": 344.9
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7F165D
secondary
#3DB463
accent
#ED743B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F165D

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

Preview Lab → · Contrast checker → · Palette generator →

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