#7F1565#7F1565

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

Color values

HEX#7F1565
RGBrgb(127, 21, 101)
HSLhsl(315, 72%, 29%)
HSVhsv(315, 83%, 50%)
CMYKcmyk(0%, 83.5%, 20.5%, 50.2%)
CIE-LABlab(29.38, 50.74, -19.89)
CIE-LCHlch(29.38, 54.50, 338.59°)
OKLaboklab(41.27% 0.152 -0.0537)
OKLCHoklch(41.27% 0.161 340.5)
XYZxyz(11.3699, 5.9891, 12.8666)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1565 #157F2F
analogous
#64157F #7F1565 #7F1530
triadic
#7F1565 #657F15 #15657F
tetradic
#7F1565 #7F6415 #157F2F #15307F
square
#7F1565 #7F6415 #157F2F #15307F
split-complementary
#7F1565 #307F15 #157F64
monochromatic
#1A0415 #4A0C3B #7F1565 #B41E8F #DD31B3

Accessibility & contrast

On white

9.56
#7F1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1565
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1565#FFFFFF#000000##FFFFFF
##7F15651.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#87193C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1565;
/* rgb */ color: rgb(127, 21, 101);
/* oklch */ color: oklch(41.3% 0.161 340.5);
Tailwind
colors: {
  custom: {
    50: '#a86191',
    500: '#7f1565',
    950: '#000000',
  },
}
SCSS
$custom: #7f1565;
$custom-light: #a86191;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1565",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 314.717,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.16119,
    "h": 340.5
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#7F1565
secondary
#3CB459
accent
#EE6639
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1565

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

Preview Lab → · Contrast checker → · Palette generator →

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