#7F1B53#7F1B53

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

Color values

HEX#7F1B53
RGBrgb(127, 27, 83)
HSLhsl(326, 65%, 30%)
HSVhsv(326, 79%, 50%)
CMYKcmyk(0%, 78.7%, 34.6%, 50.2%)
CIE-LABlab(29.21, 46.59, -8.39)
CIE-LCHlch(29.21, 47.34, 349.79°)
OKLaboklab(40.89% 0.1427 -0.0217)
OKLCHoklch(40.89% 0.144 351.3)
XYZxyz(10.7063, 5.9217, 8.7611)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B53 #1B7F47
analogous
#791B7F #7F1B53 #7F1B21
triadic
#7F1B53 #537F1B #1B537F
tetradic
#7F1B53 #7F791B #1B7F47 #1B217F
square
#7F1B53 #7F791B #1B7F47 #1B217F
split-complementary
#7F1B53 #217F1B #1B7F79
monochromatic
#1A0611 #4D1032 #7F1B53 #B12674 #D63E93

Accessibility & contrast

On white

9.62
#7F1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B53
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B53#FFFFFF#000000##FFFFFF
##7F1B531.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3954
Deuteranopia (green-blind)
#4A4B51
Tritanopia (blue-blind)
#891334
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1b53;
/* rgb */ color: rgb(127, 27, 83);
/* oklch */ color: oklch(40.9% 0.144 351.3);
Tailwind
colors: {
  custom: {
    50: '#a86283',
    500: '#7f1b53',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b53;
$custom-light: #a86283;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b53",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 326.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.14437,
    "h": 351.3
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#7F1B53
secondary
#43B374
accent
#E88A40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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