#7D1C5A#7D1C5A

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

Color values

HEX#7D1C5A
RGBrgb(125, 28, 90)
HSLhsl(322, 63%, 30%)
HSVhsv(322, 78%, 49%)
CMYKcmyk(0%, 77.6%, 28%, 51%)
CIE-LABlab(29.23, 46.59, -12.99)
CIE-LCHlch(29.23, 48.37, 344.42°)
OKLaboklab(40.93% 0.1415 -0.0344)
OKLCHoklch(40.93% 0.146 346.3)
XYZxyz(10.7187, 5.9299, 10.2510)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C5A #1C7D3F
analogous
#6F1C7D #7D1C5A #7D1C2A
triadic
#7D1C5A #5A7D1C #1C5A7D
tetradic
#7D1C5A #7D6F1C #1C7D3F #1C2A7D
square
#7D1C5A #7D6F1C #1C7D3F #1C2A7D
split-complementary
#7D1C5A #2A7D1C #1C7D6F
monochromatic
#190612 #4B1136 #7D1C5A #AF277E #D43F9E

Accessibility & contrast

On white

9.61
#7D1C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C5A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C5A#FFFFFF#000000##FFFFFF
##7D1C5A1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#464B58
Tritanopia (blue-blind)
#861938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1c5a;
/* rgb */ color: rgb(125, 28, 90);
/* oklch */ color: oklch(40.9% 0.146 346.3);
Tailwind
colors: {
  custom: {
    50: '#a66388',
    500: '#7d1c5a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c5a;
$custom-light: #a66388;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c5a",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 321.649,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.14567,
    "h": 346.3
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#7D1C5A
secondary
#44B16B
accent
#E67D41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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