#7F1567#7F1567

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

Color values

HEX#7F1567
RGBrgb(127, 21, 103)
HSLhsl(314, 72%, 29%)
HSVhsv(314, 83%, 50%)
CMYKcmyk(0%, 83.5%, 18.9%, 50.2%)
CIE-LABlab(29.48, 51.02, -21.03)
CIE-LCHlch(29.48, 55.19, 337.60°)
OKLaboklab(41.38% 0.1522 -0.057)
OKLCHoklch(41.38% 0.163 339.5)
XYZxyz(11.4691, 6.0288, 13.3890)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1567 #157F2D
analogous
#62157F #7F1567 #7F1532
triadic
#7F1567 #677F15 #15677F
tetradic
#7F1567 #7F6215 #157F2D #15327F
square
#7F1567 #7F6215 #157F2D #15327F
split-complementary
#7F1567 #327F15 #157F62
monochromatic
#1A0415 #4A0C3C #7F1567 #B41E92 #DD31B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1567#FFFFFF#000000##FFFFFF
##7F15671.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)
#1D3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#871A3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1567;
/* rgb */ color: rgb(127, 21, 103);
/* oklch */ color: oklch(41.4% 0.163 339.5);
Tailwind
colors: {
  custom: {
    50: '#a86192',
    500: '#7f1567',
    950: '#000000',
  },
}
SCSS
$custom: #7f1567;
$custom-light: #a86192;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1567",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 313.585,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.16253,
    "h": 339.5
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#7F1567
secondary
#3CB457
accent
#EE6239
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1567

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

Preview Lab → · Contrast checker → · Palette generator →

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