#7F1651#7F1651

#7F1651 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 352.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7F1651
RGBrgb(127, 22, 81)
HSLhsl(326, 70%, 29%)
HSVhsv(326, 83%, 50%)
CMYKcmyk(0%, 82.7%, 36.2%, 50.2%)
CIE-LABlab(28.59, 47.89, -8.00)
CIE-LCHlch(28.59, 48.56, 350.51°)
OKLaboklab(40.41% 0.147 -0.0207)
OKLCHoklch(40.41% 0.148 352)
XYZxyz(10.5252, 5.6812, 8.3253)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1651 #167F44
analogous
#79167F #7F1651 #7F161C
triadic
#7F1651 #517F16 #16517F
tetradic
#7F1651 #7F7916 #167F44 #161C7F
square
#7F1651 #7F7916 #167F44 #161C7F
split-complementary
#7F1651 #1C7F16 #167F79
monochromatic
#1A0511 #4B0D30 #7F1651 #B31F72 #DC3492

Accessibility & contrast

On white

9.83
#7F1651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1651
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1651#FFFFFF#000000##FFFFFF
##7F16511.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#494A4F
Tritanopia (blue-blind)
#890A32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1651;
/* rgb */ color: rgb(127, 22, 81);
/* oklch */ color: oklch(40.4% 0.148 352.0);
Tailwind
colors: {
  custom: {
    50: '#a86081',
    500: '#7f1651',
    950: '#000000',
  },
}
SCSS
$custom: #7f1651;
$custom-light: #a86081;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1651",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 326.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.14849,
    "h": 352
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#7F1651
secondary
#3DB471
accent
#ED893B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1651

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

Preview Lab → · Contrast checker → · Palette generator →

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