#7D1F5F#7D1F5F

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

Color values

HEX#7D1F5F
RGBrgb(125, 31, 95)
HSLhsl(319, 60%, 31%)
HSVhsv(319, 75%, 49%)
CMYKcmyk(0%, 75.2%, 24%, 51%)
CIE-LABlab(29.83, 46.22, -15.34)
CIE-LCHlch(29.83, 48.69, 341.64°)
OKLaboklab(41.43% 0.1393 -0.041)
OKLCHoklch(41.43% 0.145 343.6)
XYZxyz(11.0134, 6.1673, 11.4347)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F5F #1F7D3D
analogous
#6C1F7D #7D1F5F #7D1F30
triadic
#7D1F5F #5F7D1F #1F5F7D
tetradic
#7D1F5F #7D6C1F #1F7D3D #1F307D
square
#7D1F5F #7D6C1F #1F7D3D #1F307D
split-complementary
#7D1F5F #307D1F #1F7D6C
monochromatic
#1B0714 #4C133A #7D1F5F #AE2B84 #D145A4

Accessibility & contrast

On white

9.40
#7D1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F5F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F5F#FFFFFF#000000##FFFFFF
##7D1F5F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#851F3C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1f5f;
/* rgb */ color: rgb(125, 31, 95);
/* oklch */ color: oklch(41.4% 0.145 343.6);
Tailwind
colors: {
  custom: {
    50: '#a6648c',
    500: '#7d1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f5f;
$custom-light: #a6648c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f5f",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 319.149,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.14522,
    "h": 343.6
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#7D1F5F
secondary
#48B069
accent
#E37744
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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