#7C1F50#7C1F50

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

Color values

HEX#7C1F50
RGBrgb(124, 31, 80)
HSLhsl(328, 60%, 30%)
HSVhsv(328, 75%, 49%)
CMYKcmyk(0%, 75%, 35.5%, 51.4%)
CIE-LABlab(29.02, 43.95, -6.76)
CIE-LCHlch(29.02, 44.47, 351.26°)
OKLaboklab(40.6% 0.1346 -0.0174)
OKLCHoklch(40.6% 0.136 352.6)
XYZxyz(10.2507, 5.8454, 8.1763)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F50 #1F7C4B
analogous
#791F7C #7C1F50 #7C1F21
triadic
#7C1F50 #507C1F #1F507C
tetradic
#7C1F50 #7C791F #1F7C4B #1F217C
square
#7C1F50 #7C791F #1F7C4B #1F217C
split-complementary
#7C1F50 #217C1F #1F7C79
monochromatic
#1A0711 #4B1330 #7C1F50 #AD2B70 #D0458E

Accessibility & contrast

On white

9.68
#7C1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F50
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F50#FFFFFF#000000##FFFFFF
##7C1F501.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A51
Deuteranopia (green-blind)
#494B4E
Tritanopia (blue-blind)
#861734
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1f50;
/* rgb */ color: rgb(124, 31, 80);
/* oklch */ color: oklch(40.6% 0.136 352.6);
Tailwind
colors: {
  custom: {
    50: '#a66481',
    500: '#7c1f50',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f50;
$custom-light: #a66481;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f50",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 328.387,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.406,
    "c": 0.1357,
    "h": 352.6
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#7C1F50
secondary
#48AF79
accent
#E39045
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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