#7F1D53#7F1D53

#7F1D53 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.142 H 351.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7F1D53
RGBrgb(127, 29, 83)
HSLhsl(327, 63%, 31%)
HSVhsv(327, 77%, 50%)
CMYKcmyk(0%, 77.2%, 34.6%, 50.2%)
CIE-LABlab(29.45, 45.91, -8.03)
CIE-LCHlch(29.45, 46.60, 350.08°)
OKLaboklab(41.06% 0.1406 -0.0208)
OKLCHoklch(41.06% 0.142 351.6)
XYZxyz(10.7537, 6.0166, 8.7769)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D53 #1D7F49
analogous
#7A1D7F #7F1D53 #7F1D22
triadic
#7F1D53 #537F1D #1D537F
tetradic
#7F1D53 #7F7A1D #1D7F49 #1D227F
square
#7F1D53 #7F7A1D #1D7F49 #1D227F
split-complementary
#7F1D53 #227F1D #1D7F7A
monochromatic
#1B0612 #4D1232 #7F1D53 #B12874 #D44293

Accessibility & contrast

On white

9.53
#7F1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D53
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D53#FFFFFF#000000##FFFFFF
##7F1D531.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A54
Deuteranopia (green-blind)
#4A4C51
Tritanopia (blue-blind)
#891535
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1d53;
/* rgb */ color: rgb(127, 29, 83);
/* oklch */ color: oklch(41.1% 0.142 351.6);
Tailwind
colors: {
  custom: {
    50: '#a86383',
    500: '#7f1d53',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d53;
$custom-light: #a86383;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d53",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 326.939,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.14211,
    "h": 351.6
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#7F1D53
secondary
#45B276
accent
#E68C42
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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