#7D1B5E#7D1B5E

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

Color values

HEX#7D1B5E
RGBrgb(125, 27, 94)
HSLhsl(319, 64%, 30%)
HSVhsv(319, 78%, 49%)
CMYKcmyk(0%, 78.4%, 24.8%, 51%)
CIE-LABlab(29.29, 47.47, -15.52)
CIE-LCHlch(29.29, 49.94, 341.90°)
OKLaboklab(41.03% 0.1434 -0.0414)
OKLCHoklch(41.03% 0.149 343.9)
XYZxyz(10.8702, 5.9532, 11.1641)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B5E #1B7D3A
analogous
#6B1B7D #7D1B5E #7D1B2D
triadic
#7D1B5E #5E7D1B #1B5E7D
tetradic
#7D1B5E #7D6B1B #1B7D3A #1B2D7D
square
#7D1B5E #7D6B1B #1B7D3A #1B2D7D
split-complementary
#7D1B5E #2D7D1B #1B7D6B
monochromatic
#190513 #4B1038 #7D1B5E #AF2684 #D53DA5

Accessibility & contrast

On white

9.59
#7D1B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B5E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B5E#FFFFFF#000000##FFFFFF
##7D1B5E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#861B3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1b5e;
/* rgb */ color: rgb(125, 27, 94);
/* oklch */ color: oklch(41.0% 0.149 343.9);
Tailwind
colors: {
  custom: {
    50: '#a6638b',
    500: '#7d1b5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b5e;
$custom-light: #a6638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b5e",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 318.98,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.14928,
    "h": 343.9
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#7D1B5E
secondary
#43B166
accent
#E77540
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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