#7C1C5D#7C1C5D

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

Color values

HEX#7C1C5D
RGBrgb(124, 28, 93)
HSLhsl(319, 63%, 30%)
HSVhsv(319, 77%, 49%)
CMYKcmyk(0%, 77.4%, 25%, 51.4%)
CIE-LABlab(29.18, 46.73, -15.06)
CIE-LCHlch(29.18, 49.09, 342.14°)
OKLaboklab(40.89% 0.1412 -0.0402)
OKLCHoklch(40.89% 0.147 344.1)
XYZxyz(10.7036, 5.9070, 10.9303)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C5D #1C7C3B
analogous
#6B1C7C #7C1C5D #7C1C2D
triadic
#7C1C5D #5D7C1C #1C5D7C
tetradic
#7C1C5D #7C6B1C #1C7C3B #1C2D7C
square
#7C1C5D #7C6B1C #1C7C3B #1C2D7C
split-complementary
#7C1C5D #2D7C1C #1C7C6B
monochromatic
#190613 #4A1138 #7C1C5D #AE2782 #D43FA4

Accessibility & contrast

On white

9.63
#7C1C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1C5D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C5D#FFFFFF#000000##FFFFFF
##7C1C5D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#841B3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1c5d;
/* rgb */ color: rgb(124, 28, 93);
/* oklch */ color: oklch(40.9% 0.147 344.1);
Tailwind
colors: {
  custom: {
    50: '#a5638b',
    500: '#7c1c5d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c5d;
$custom-light: #a5638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c5d",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 319.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.14681,
    "h": 344.1
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#7C1C5D
secondary
#44B067
accent
#E67742
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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