#7F1665#7F1665

#7F1665 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 340.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F1665
RGBrgb(127, 22, 101)
HSLhsl(315, 70%, 29%)
HSVhsv(315, 83%, 50%)
CMYKcmyk(0%, 82.7%, 20.5%, 50.2%)
CIE-LABlab(29.48, 50.47, -19.75)
CIE-LCHlch(29.48, 54.19, 338.63°)
OKLaboklab(41.34% 0.1511 -0.0533)
OKLCHoklch(41.34% 0.16 340.6)
XYZxyz(11.3886, 6.0266, 12.8729)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1665 #167F30
analogous
#65167F #7F1665 #7F1631
triadic
#7F1665 #657F16 #16657F
tetradic
#7F1665 #7F6516 #167F30 #16317F
square
#7F1665 #7F6516 #167F30 #16317F
split-complementary
#7F1665 #317F16 #167F65
monochromatic
#1A0515 #4B0D3C #7F1665 #B31F8E #DC34B2

Accessibility & contrast

On white

9.52
#7F1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1665
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1665#FFFFFF#000000##FFFFFF
##7F16651.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#871A3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1665;
/* rgb */ color: rgb(127, 22, 101);
/* oklch */ color: oklch(41.3% 0.160 340.6);
Tailwind
colors: {
  custom: {
    50: '#a86191',
    500: '#7f1665',
    950: '#000000',
  },
}
SCSS
$custom: #7f1665;
$custom-light: #a86191;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1665",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 314.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.16027,
    "h": 340.6
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#7F1665
secondary
#3DB45A
accent
#ED673B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1665

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

Preview Lab → · Contrast checker → · Palette generator →

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