#7D1F5E#7D1F5E

#7D1F5E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.145 H 344.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7D1F5E
RGBrgb(125, 31, 94)
HSLhsl(320, 60%, 31%)
HSVhsv(320, 75%, 49%)
CMYKcmyk(0%, 75.2%, 24.8%, 51%)
CIE-LABlab(29.79, 46.07, -14.76)
CIE-LCHlch(29.79, 48.38, 342.24°)
OKLaboklab(41.38% 0.1391 -0.0394)
OKLCHoklch(41.38% 0.145 344.2)
XYZxyz(10.9682, 6.1492, 11.1968)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F5E #1F7D3E
analogous
#6D1F7D #7D1F5E #7D1F2F
triadic
#7D1F5E #5E7D1F #1F5E7D
tetradic
#7D1F5E #7D6D1F #1F7D3E #1F2F7D
square
#7D1F5E #7D6D1F #1F7D3E #1F2F7D
split-complementary
#7D1F5E #2F7D1F #1F7D6D
monochromatic
#1B0714 #4C1339 #7D1F5E #AE2B83 #D145A3

Accessibility & contrast

On white

9.42
#7D1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F5E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F5E#FFFFFF#000000##FFFFFF
##7D1F5E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#851E3C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1f5e;
/* rgb */ color: rgb(125, 31, 94);
/* oklch */ color: oklch(41.4% 0.145 344.2);
Tailwind
colors: {
  custom: {
    50: '#a6648b',
    500: '#7d1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f5e;
$custom-light: #a6648b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f5e",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 319.787,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.14458,
    "h": 344.2
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7D1F5E
secondary
#48B06A
accent
#E37944
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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