#7F1752#7F1752

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

Color values

HEX#7F1752
RGBrgb(127, 23, 82)
HSLhsl(326, 69%, 29%)
HSVhsv(326, 82%, 50%)
CMYKcmyk(0%, 81.9%, 35.4%, 50.2%)
CIE-LABlab(28.73, 47.72, -8.45)
CIE-LCHlch(28.73, 48.46, 349.96°)
OKLaboklab(40.53% 0.1464 -0.0219)
OKLCHoklch(40.53% 0.148 351.5)
XYZxyz(10.5824, 5.7353, 8.5308)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1752 #177F44
analogous
#78177F #7F1752 #7F171E
triadic
#7F1752 #527F17 #17527F
tetradic
#7F1752 #7F7817 #177F44 #171E7F
square
#7F1752 #7F7817 #177F44 #171E7F
split-complementary
#7F1752 #1E7F17 #177F78
monochromatic
#1A0511 #4B0E31 #7F1752 #B32073 #DB3693

Accessibility & contrast

On white

9.78
#7F1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1752
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1752#FFFFFF#000000##FFFFFF
##7F17521.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#890C33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1752;
/* rgb */ color: rgb(127, 23, 82);
/* oklch */ color: oklch(40.5% 0.148 351.5);
Tailwind
colors: {
  custom: {
    50: '#a86182',
    500: '#7f1752',
    950: '#000000',
  },
}
SCSS
$custom: #7f1752;
$custom-light: #a86182;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1752",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 325.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40525,
    "c": 0.14803,
    "h": 351.5
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#7F1752
secondary
#3EB471
accent
#EC883C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1752

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

Preview Lab → · Contrast checker → · Palette generator →

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