#7C1F4E#7C1F4E

#7C1F4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.135 H 354.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7C1F4E
RGBrgb(124, 31, 78)
HSLhsl(330, 60%, 30%)
HSVhsv(330, 75%, 49%)
CMYKcmyk(0%, 75%, 37.1%, 51.4%)
CIE-LABlab(28.94, 43.71, -5.55)
CIE-LCHlch(28.94, 44.06, 352.77°)
OKLaboklab(40.52% 0.134 -0.0141)
OKLCHoklch(40.52% 0.135 354)
XYZxyz(10.1779, 5.8163, 7.7929)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F4E #1F7C4D
analogous
#7B1F7C #7C1F4E #7C1F20
triadic
#7C1F4E #4E7C1F #1F4E7C
tetradic
#7C1F4E #7C7B1F #1F7C4D #1F207C
square
#7C1F4E #7C7B1F #1F7C4D #1F207C
split-complementary
#7C1F4E #207C1F #1F7C7B
monochromatic
#1A0710 #4B132F #7C1F4E #AD2B6D #D0458B

Accessibility & contrast

On white

9.71
#7C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F4E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F4E#FFFFFF#000000##FFFFFF
##7C1F4E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#861633
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1f4e;
/* rgb */ color: rgb(124, 31, 78);
/* oklch */ color: oklch(40.5% 0.135 354.0);
Tailwind
colors: {
  custom: {
    50: '#a6637f',
    500: '#7c1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f4e;
$custom-light: #a6637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f4e",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 329.677,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.13471,
    "h": 354
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7C1F4E
secondary
#48AF7B
accent
#E39345
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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