#7F1C4E#7F1C4E

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

Color values

HEX#7F1C4E
RGBrgb(127, 28, 78)
HSLhsl(330, 64%, 30%)
HSVhsv(330, 78%, 50%)
CMYKcmyk(0%, 78%, 38.6%, 50.2%)
CIE-LABlab(29.14, 45.66, -5.19)
CIE-LCHlch(29.14, 45.96, 353.52°)
OKLaboklab(40.77% 0.1402 -0.0131)
OKLCHoklch(40.77% 0.141 354.7)
XYZxyz(10.5435, 5.8939, 7.7887)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C4E #1C7F4D
analogous
#7E1C7F #7F1C4E #7F1C1C
triadic
#7F1C4E #4E7F1C #1C4E7F
tetradic
#7F1C4E #7F7E1C #1C7F4D #1C1C7F
square
#7F1C4E #7F7E1C #1C7F4D #1C1C7F
split-complementary
#7F1C4E #1C7F1C #1C7F7E
monochromatic
#1B0610 #4D112F #7F1C4E #B1276D #D5408B

Accessibility & contrast

On white

9.64
#7F1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1C4E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C4E#FFFFFF#000000##FFFFFF
##7F1C4E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#891132
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1c4e;
/* rgb */ color: rgb(127, 28, 78);
/* oklch */ color: oklch(40.8% 0.141 354.7);
Tailwind
colors: {
  custom: {
    50: '#a8637f',
    500: '#7f1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c4e;
$custom-light: #a8637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c4e",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 329.697,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.1408,
    "h": 354.7
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#7F1C4E
secondary
#44B37B
accent
#E79341
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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