#7D1A5B#7D1A5B

#7D1A5B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.149 H 345.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7D1A5B
RGBrgb(125, 26, 91)
HSLhsl(321, 66%, 30%)
HSVhsv(321, 79%, 49%)
CMYKcmyk(0%, 79.2%, 27.2%, 51%)
CIE-LABlab(29.04, 47.39, -13.94)
CIE-LCHlch(29.04, 49.39, 343.61°)
OKLaboklab(40.8% 0.1438 -0.037)
OKLCHoklch(40.8% 0.149 345.6)
XYZxyz(10.7156, 5.8553, 10.4614)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5B #1A7D3C
analogous
#6E1A7D #7D1A5B #7D1A2A
triadic
#7D1A5B #5B7D1A #1A5B7D
tetradic
#7D1A5B #7D6E1A #1A7D3C #1A2A7D
square
#7D1A5B #7D6E1A #1A7D3C #1A2A7D
split-complementary
#7D1A5B #2A7D1A #1A7D6E
monochromatic
#190512 #4A0F36 #7D1A5B #B02580 #D63BA1

Accessibility & contrast

On white

9.67
#7D1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A5B
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5B#FFFFFF#000000##FFFFFF
##7D1A5B1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#861838
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a5b;
/* rgb */ color: rgb(125, 26, 91);
/* oklch */ color: oklch(40.8% 0.149 345.6);
Tailwind
colors: {
  custom: {
    50: '#a66289',
    500: '#7d1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5b;
$custom-light: #a66289;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5b",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 320.606,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.14851,
    "h": 345.6
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#7D1A5B
secondary
#42B168
accent
#E9793F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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