#7D1B5D#7D1B5D

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

Color values

HEX#7D1B5D
RGBrgb(125, 27, 93)
HSLhsl(320, 64%, 30%)
HSVhsv(320, 78%, 49%)
CMYKcmyk(0%, 78.4%, 25.6%, 51%)
CIE-LABlab(29.25, 47.33, -14.93)
CIE-LCHlch(29.25, 49.63, 342.49°)
OKLaboklab(40.98% 0.1432 -0.0398)
OKLCHoklch(40.98% 0.149 344.5)
XYZxyz(10.8256, 5.9353, 10.9293)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B5D #1B7D3B
analogous
#6C1B7D #7D1B5D #7D1B2C
triadic
#7D1B5D #5D7D1B #1B5D7D
tetradic
#7D1B5D #7D6C1B #1B7D3B #1B2C7D
square
#7D1B5D #7D6C1B #1B7D3B #1B2C7D
split-complementary
#7D1B5D #2C7D1B #1B7D6C
monochromatic
#190513 #4B1038 #7D1B5D #AF2682 #D53DA4

Accessibility & contrast

On white

9.60
#7D1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B5D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B5D#FFFFFF#000000##FFFFFF
##7D1B5D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#861A3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1b5d;
/* rgb */ color: rgb(125, 27, 93);
/* oklch */ color: oklch(41.0% 0.149 344.5);
Tailwind
colors: {
  custom: {
    50: '#a6628b',
    500: '#7d1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b5d;
$custom-light: #a6628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b5d",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 319.592,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.14864,
    "h": 344.5
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#7D1B5D
secondary
#43B167
accent
#E77740
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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