#7F1B52#7F1B52

#7F1B52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.144 H 352.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7F1B52
RGBrgb(127, 27, 82)
HSLhsl(327, 65%, 30%)
HSVhsv(327, 79%, 50%)
CMYKcmyk(0%, 78.7%, 35.4%, 50.2%)
CIE-LABlab(29.18, 46.47, -7.79)
CIE-LCHlch(29.18, 47.11, 350.49°)
OKLaboklab(40.85% 0.1424 -0.0201)
OKLCHoklch(40.85% 0.144 352)
XYZxyz(10.6680, 5.9064, 8.5593)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B52 #1B7F48
analogous
#7A1B7F #7F1B52 #7F1B20
triadic
#7F1B52 #527F1B #1B527F
tetradic
#7F1B52 #7F7A1B #1B7F48 #1B207F
square
#7F1B52 #7F7A1B #1B7F48 #1B207F
split-complementary
#7F1B52 #207F1B #1B7F7A
monochromatic
#1A0611 #4D1031 #7F1B52 #B12673 #D63E92

Accessibility & contrast

On white

9.63
#7F1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B52
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B52#FFFFFF#000000##FFFFFF
##7F1B521.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#891234
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1b52;
/* rgb */ color: rgb(127, 27, 82);
/* oklch */ color: oklch(40.8% 0.144 352.0);
Tailwind
colors: {
  custom: {
    50: '#a86282',
    500: '#7f1b52',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b52;
$custom-light: #a86282;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b52",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 327,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.14385,
    "h": 352
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#7F1B52
secondary
#43B375
accent
#E88B40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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