#7F1C50#7F1C50

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

Color values

HEX#7F1C50
RGBrgb(127, 28, 80)
HSLhsl(328, 64%, 30%)
HSVhsv(328, 78%, 50%)
CMYKcmyk(0%, 78%, 37%, 50.2%)
CIE-LABlab(29.22, 45.89, -6.40)
CIE-LCHlch(29.22, 46.34, 352.06°)
OKLaboklab(40.85% 0.1408 -0.0164)
OKLCHoklch(40.85% 0.142 353.4)
XYZxyz(10.6163, 5.9230, 8.1721)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C50 #1C7F4B
analogous
#7C1C7F #7F1C50 #7F1C1E
triadic
#7F1C50 #507F1C #1C507F
tetradic
#7F1C50 #7F7C1C #1C7F4B #1C1E7F
square
#7F1C50 #7F7C1C #1C7F4B #1C1E7F
split-complementary
#7F1C50 #1E7F1C #1C7F7C
monochromatic
#1B0611 #4D1130 #7F1C50 #B12770 #D5408E

Accessibility & contrast

On white

9.61
#7F1C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1C50
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C50#FFFFFF#000000##FFFFFF
##7F1C501.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3951
Deuteranopia (green-blind)
#4B4B4E
Tritanopia (blue-blind)
#891233
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1c50;
/* rgb */ color: rgb(127, 28, 80);
/* oklch */ color: oklch(40.9% 0.142 353.4);
Tailwind
colors: {
  custom: {
    50: '#a86381',
    500: '#7f1c50',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c50;
$custom-light: #a86381;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c50",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 328.485,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.14175,
    "h": 353.4
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#7F1C50
secondary
#44B379
accent
#E79041
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1C50

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

Preview Lab → · Contrast checker → · Palette generator →

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