#7D1C5E#7D1C5E

#7D1C5E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.148 H 344.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7D1C5E
RGBrgb(125, 28, 94)
HSLhsl(319, 63%, 30%)
HSVhsv(319, 78%, 49%)
CMYKcmyk(0%, 77.6%, 24.8%, 51%)
CIE-LABlab(29.41, 47.13, -15.33)
CIE-LCHlch(29.41, 49.56, 341.98°)
OKLaboklab(41.11% 0.1424 -0.0409)
OKLCHoklch(41.11% 0.148 344)
XYZxyz(10.8935, 5.9998, 11.1719)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C5E #1C7D3B
analogous
#6B1C7D #7D1C5E #7D1C2E
triadic
#7D1C5E #5E7D1C #1C5E7D
tetradic
#7D1C5E #7D6B1C #1C7D3B #1C2E7D
square
#7D1C5E #7D6B1C #1C7D3B #1C2E7D
split-complementary
#7D1C5E #2E7D1C #1C7D6B
monochromatic
#190613 #4B1138 #7D1C5E #AF2784 #D43FA5

Accessibility & contrast

On white

9.55
#7D1C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C5E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C5E#FFFFFF#000000##FFFFFF
##7D1C5E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#861B3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1c5e;
/* rgb */ color: rgb(125, 28, 94);
/* oklch */ color: oklch(41.1% 0.148 344.0);
Tailwind
colors: {
  custom: {
    50: '#a6638b',
    500: '#7d1c5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c5e;
$custom-light: #a6638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c5e",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 319.175,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.14815,
    "h": 344
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#7D1C5E
secondary
#44B167
accent
#E67641
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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