#7D1F58#7D1F58

#7D1F58 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.141 H 347.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7D1F58
RGBrgb(125, 31, 88)
HSLhsl(324, 60%, 31%)
HSVhsv(324, 75%, 49%)
CMYKcmyk(0%, 75.2%, 29.6%, 51%)
CIE-LABlab(29.53, 45.26, -11.24)
CIE-LCHlch(29.53, 46.63, 346.06°)
OKLaboklab(41.11% 0.1377 -0.0296)
OKLCHoklch(41.11% 0.141 347.9)
XYZxyz(10.7094, 6.0457, 9.8336)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F58 #1F7D44
analogous
#731F7D #7D1F58 #7D1F29
triadic
#7D1F58 #587D1F #1F587D
tetradic
#7D1F58 #7D731F #1F7D44 #1F297D
square
#7D1F58 #7D731F #1F7D44 #1F297D
split-complementary
#7D1F58 #297D1F #1F7D73
monochromatic
#1B0713 #4C1335 #7D1F58 #AE2B7B #D1459A

Accessibility & contrast

On white

9.51
#7D1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F58
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F58#FFFFFF#000000##FFFFFF
##7D1F581.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#484B56
Tritanopia (blue-blind)
#861B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1f58;
/* rgb */ color: rgb(125, 31, 88);
/* oklch */ color: oklch(41.1% 0.141 347.9);
Tailwind
colors: {
  custom: {
    50: '#a66487',
    500: '#7d1f58',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f58;
$custom-light: #a66487;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f58",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 323.617,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.14088,
    "h": 347.9
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#7D1F58
secondary
#48B071
accent
#E38344
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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