#7D1C5F#7D1C5F

#7D1C5F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.149 H 343.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7D1C5F
RGBrgb(125, 28, 95)
HSLhsl(319, 63%, 30%)
HSVhsv(319, 78%, 49%)
CMYKcmyk(0%, 77.6%, 24%, 51%)
CIE-LABlab(29.46, 47.27, -15.92)
CIE-LCHlch(29.46, 49.88, 341.39°)
OKLaboklab(41.16% 0.1426 -0.0426)
OKLCHoklch(41.16% 0.149 343.4)
XYZxyz(10.9387, 6.0179, 11.4097)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C5F #1C7D3A
analogous
#6B1C7D #7D1C5F #7D1C2E
triadic
#7D1C5F #5F7D1C #1C5F7D
tetradic
#7D1C5F #7D6B1C #1C7D3A #1C2E7D
square
#7D1C5F #7D6B1C #1C7D3A #1C2E7D
split-complementary
#7D1C5F #2E7D1C #1C7D6B
monochromatic
#190613 #4B1139 #7D1C5F #AF2785 #D43FA6

Accessibility & contrast

On white

9.53
#7D1C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C5F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C5F#FFFFFF#000000##FFFFFF
##7D1C5F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#851C3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1c5f;
/* rgb */ color: rgb(125, 28, 95);
/* oklch */ color: oklch(41.2% 0.149 343.4);
Tailwind
colors: {
  custom: {
    50: '#a6638c',
    500: '#7d1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c5f;
$custom-light: #a6638c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c5f",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 318.557,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.14879,
    "h": 343.4
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#7D1C5F
secondary
#44B166
accent
#E67441
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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