#7D1C4B#7D1C4B

#7D1C4B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.138 H 355.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1C4B
RGBrgb(125, 28, 75)
HSLhsl(331, 63%, 30%)
HSVhsv(331, 78%, 49%)
CMYKcmyk(0%, 77.6%, 40%, 51%)
CIE-LABlab(28.64, 44.74, -3.99)
CIE-LCHlch(28.64, 44.92, 354.91°)
OKLaboklab(40.3% 0.1374 -0.0099)
OKLCHoklch(40.3% 0.138 355.9)
XYZxyz(10.1434, 5.6997, 7.2213)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C4B #1C7D4E
analogous
#7D1C7B #7D1C4B #7D1E1C
triadic
#7D1C4B #4B7D1C #1C4B7D
tetradic
#7D1C4B #7B7D1C #1C7D4E #1E1C7D
square
#7D1C4B #7B7D1C #1C7D4E #1E1C7D
split-complementary
#7D1C4B #1C7D1E #1C7B7D
monochromatic
#19060F #4B112D #7D1C4B #AF2769 #D43F87

Accessibility & contrast

On white

9.81
#7D1C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C4B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C4B#FFFFFF#000000##FFFFFF
##7D1C4B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#871031
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1c4b;
/* rgb */ color: rgb(125, 28, 75);
/* oklch */ color: oklch(40.3% 0.138 355.9);
Tailwind
colors: {
  custom: {
    50: '#a7627d',
    500: '#7d1c4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c4b;
$custom-light: #a7627d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c4b",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 330.928,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.13777,
    "h": 355.9
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#7D1C4B
secondary
#44B17C
accent
#E69641
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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