#7D1C4F#7D1C4F

#7D1C4F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.140 H 353.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7D1C4F
RGBrgb(125, 28, 79)
HSLhsl(328, 63%, 30%)
HSVhsv(328, 78%, 49%)
CMYKcmyk(0%, 77.6%, 36.8%, 51%)
CIE-LABlab(28.79, 45.21, -6.42)
CIE-LCHlch(28.79, 45.66, 351.91°)
OKLaboklab(40.46% 0.1387 -0.0164)
OKLCHoklch(40.46% 0.14 353.2)
XYZxyz(10.2846, 5.7562, 7.9651)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C4F #1C7D4A
analogous
#7B1C7D #7D1C4F #7D1C1E
triadic
#7D1C4F #4F7D1C #1C4F7D
tetradic
#7D1C4F #7D7B1C #1C7D4A #1C1E7D
square
#7D1C4F #7D7B1C #1C7D4A #1C1E7D
split-complementary
#7D1C4F #1E7D1C #1C7D7B
monochromatic
#190610 #4B112F #7D1C4F #AF276F #D43F8E

Accessibility & contrast

On white

9.76
#7D1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C4F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C4F#FFFFFF#000000##FFFFFF
##7D1C4F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3950
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#871233
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1c4f;
/* rgb */ color: rgb(125, 28, 79);
/* oklch */ color: oklch(40.5% 0.140 353.2);
Tailwind
colors: {
  custom: {
    50: '#a76280',
    500: '#7d1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c4f;
$custom-light: #a76280;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c4f",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 328.454,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.13962,
    "h": 353.2
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#7D1C4F
secondary
#44B178
accent
#E69041
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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