#7D1F59#7D1F59

#7D1F59 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 347.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D1F59
RGBrgb(125, 31, 89)
HSLhsl(323, 60%, 31%)
HSVhsv(323, 75%, 49%)
CMYKcmyk(0%, 75.2%, 28.8%, 51%)
CIE-LABlab(29.57, 45.39, -11.83)
CIE-LCHlch(29.57, 46.91, 345.40°)
OKLaboklab(41.16% 0.138 -0.0312)
OKLCHoklch(41.16% 0.141 347.3)
XYZxyz(10.7511, 6.0624, 10.0532)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F59 #1F7D43
analogous
#721F7D #7D1F59 #7D1F2A
triadic
#7D1F59 #597D1F #1F597D
tetradic
#7D1F59 #7D721F #1F7D43 #1F2A7D
square
#7D1F59 #7D721F #1F7D43 #1F2A7D
split-complementary
#7D1F59 #2A7D1F #1F7D72
monochromatic
#1B0713 #4C1336 #7D1F59 #AE2B7C #D1459C

Accessibility & contrast

On white

9.49
#7D1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F59
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F59#FFFFFF#000000##FFFFFF
##7D1F591.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#861C39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1f59;
/* rgb */ color: rgb(125, 31, 89);
/* oklch */ color: oklch(41.2% 0.141 347.3);
Tailwind
colors: {
  custom: {
    50: '#a66488',
    500: '#7d1f59',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f59;
$custom-light: #a66488;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f59",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 322.979,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.14148,
    "h": 347.3
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#7D1F59
secondary
#48B070
accent
#E38144
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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