#7F1751#7F1751

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

Color values

HEX#7F1751
RGBrgb(127, 23, 81)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 82%, 50%)
CMYKcmyk(0%, 81.9%, 36.2%, 50.2%)
CIE-LABlab(28.70, 47.60, -7.85)
CIE-LCHlch(28.70, 48.24, 350.64°)
OKLaboklab(40.48% 0.1461 -0.0202)
OKLCHoklch(40.48% 0.148 352.1)
XYZxyz(10.5447, 5.7202, 8.3318)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1751 #177F45
analogous
#79177F #7F1751 #7F171D
triadic
#7F1751 #517F17 #17517F
tetradic
#7F1751 #7F7917 #177F45 #171D7F
square
#7F1751 #7F7917 #177F45 #171D7F
split-complementary
#7F1751 #1D7F17 #177F79
monochromatic
#1A0511 #4B0E30 #7F1751 #B32072 #DB3692

Accessibility & contrast

On white

9.80
#7F1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1751
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1751#FFFFFF#000000##FFFFFF
##7F17511.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3852
Deuteranopia (green-blind)
#494A4F
Tritanopia (blue-blind)
#890B32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1751;
/* rgb */ color: rgb(127, 23, 81);
/* oklch */ color: oklch(40.5% 0.148 352.1);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7f1751',
    950: '#000000',
  },
}
SCSS
$custom: #7f1751;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1751",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 326.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.14753,
    "h": 352.1
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#7F1751
secondary
#3EB472
accent
#EC8A3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1751

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

Preview Lab → · Contrast checker → · Palette generator →

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