#7D1C56#7D1C56

#7D1C56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.143 H 348.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7D1C56
RGBrgb(125, 28, 86)
HSLhsl(324, 63%, 30%)
HSVhsv(324, 78%, 49%)
CMYKcmyk(0%, 77.6%, 31.2%, 51%)
CIE-LABlab(29.07, 46.07, -10.63)
CIE-LCHlch(29.07, 47.28, 347.01°)
OKLaboklab(40.75% 0.1406 -0.0279)
OKLCHoklch(40.75% 0.143 348.8)
XYZxyz(10.5530, 5.8636, 9.3783)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C56 #1C7D43
analogous
#741C7D #7D1C56 #7D1C25
triadic
#7D1C56 #567D1C #1C567D
tetradic
#7D1C56 #7D741C #1C7D43 #1C257D
square
#7D1C56 #7D741C #1C7D43 #1C257D
split-complementary
#7D1C56 #257D1C #1C7D74
monochromatic
#190611 #4B1134 #7D1C56 #AF2778 #D43F98

Accessibility & contrast

On white

9.67
#7D1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C56
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C56#FFFFFF#000000##FFFFFF
##7D1C561.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#861736
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1c56;
/* rgb */ color: rgb(125, 28, 86);
/* oklch */ color: oklch(40.7% 0.143 348.8);
Tailwind
colors: {
  custom: {
    50: '#a66385',
    500: '#7d1c56',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c56;
$custom-light: #a66385;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c56",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 324.124,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.14332,
    "h": 348.8
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#7D1C56
secondary
#44B170
accent
#E68441
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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