#7C1F4F#7C1F4F

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

Color values

HEX#7C1F4F
RGBrgb(124, 31, 79)
HSLhsl(329, 60%, 30%)
HSVhsv(329, 75%, 49%)
CMYKcmyk(0%, 75%, 36.3%, 51.4%)
CIE-LABlab(28.98, 43.83, -6.15)
CIE-LCHlch(28.98, 44.26, 352.01°)
OKLaboklab(40.56% 0.1343 -0.0157)
OKLCHoklch(40.56% 0.135 353.3)
XYZxyz(10.2141, 5.8308, 7.9832)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F4F #1F7C4C
analogous
#7A1F7C #7C1F4F #7C1F21
triadic
#7C1F4F #4F7C1F #1F4F7C
tetradic
#7C1F4F #7C7A1F #1F7C4C #1F217C
square
#7C1F4F #7C7A1F #1F7C4C #1F217C
split-complementary
#7C1F4F #217C1F #1F7C7A
monochromatic
#1A0711 #4B1330 #7C1F4F #AD2B6E #D0458D

Accessibility & contrast

On white

9.70
#7C1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F4F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F4F#FFFFFF#000000##FFFFFF
##7C1F4F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#4A4A4D
Tritanopia (blue-blind)
#861734
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1f4f;
/* rgb */ color: rgb(124, 31, 79);
/* oklch */ color: oklch(40.6% 0.135 353.3);
Tailwind
colors: {
  custom: {
    50: '#a66380',
    500: '#7c1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f4f;
$custom-light: #a66380;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f4f",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 329.032,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.1352,
    "h": 353.3
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#7C1F4F
secondary
#48AF7A
accent
#E39145
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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