#7D1F4F#7D1F4F

#7D1F4F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.136 H 353.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7D1F4F
RGBrgb(125, 31, 79)
HSLhsl(329, 60%, 31%)
HSVhsv(329, 75%, 49%)
CMYKcmyk(0%, 75.2%, 36.8%, 51%)
CIE-LABlab(29.17, 44.12, -5.85)
CIE-LCHlch(29.17, 44.51, 352.45°)
OKLaboklab(40.74% 0.1352 -0.0149)
OKLCHoklch(40.74% 0.136 353.7)
XYZxyz(10.3594, 5.9057, 7.9900)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F4F #1F7D4D
analogous
#7C1F7D #7D1F4F #7D1F20
triadic
#7D1F4F #4F7D1F #1F4F7D
tetradic
#7D1F4F #7D7C1F #1F7D4D #1F207D
square
#7D1F4F #7D7C1F #1F7D4D #1F207D
split-complementary
#7D1F4F #207D1F #1F7D7C
monochromatic
#1B0711 #4C1330 #7D1F4F #AE2B6E #D1458D

Accessibility & contrast

On white

9.63
#7D1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F4F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F4F#FFFFFF#000000##FFFFFF
##7D1F4F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#4A4B4D
Tritanopia (blue-blind)
#871634
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f4f;
/* rgb */ color: rgb(125, 31, 79);
/* oklch */ color: oklch(40.7% 0.136 353.7);
Tailwind
colors: {
  custom: {
    50: '#a76480',
    500: '#7d1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f4f;
$custom-light: #a76480;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f4f",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 329.362,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.13605,
    "h": 353.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#7D1F4F
secondary
#48B07B
accent
#E39244
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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