#7D1B6A#7D1B6A

#7D1B6A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.157 H 337.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7D1B6A
RGBrgb(125, 27, 106)
HSLhsl(312, 64%, 30%)
HSVhsv(312, 78%, 49%)
CMYKcmyk(0%, 78.4%, 15.2%, 51%)
CIE-LABlab(29.88, 49.21, -22.38)
CIE-LCHlch(29.88, 54.06, 335.54°)
OKLaboklab(41.64% 0.1452 -0.0609)
OKLCHoklch(41.64% 0.157 337.2)
XYZxyz(11.4511, 6.1855, 14.2237)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B6A #1B7D2E
analogous
#5F1B7D #7D1B6A #7D1B39
triadic
#7D1B6A #6A7D1B #1B6A7D
tetradic
#7D1B6A #7D5F1B #1B7D2E #1B397D
square
#7D1B6A #7D5F1B #1B7D2E #1B397D
split-complementary
#7D1B6A #397D1B #1B7D5F
monochromatic
#190515 #4B103F #7D1B6A #AF2695 #D53DB8

Accessibility & contrast

On white

9.39
#7D1B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B6A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B6A#FFFFFF#000000##FFFFFF
##7D1B6A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#404C68
Tritanopia (blue-blind)
#842141
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1b6a;
/* rgb */ color: rgb(125, 27, 106);
/* oklch */ color: oklch(41.6% 0.157 337.2);
Tailwind
colors: {
  custom: {
    50: '#a66395',
    500: '#7d1b6a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b6a;
$custom-light: #a66395;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b6a",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 311.633,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.15745,
    "h": 337.2
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#7D1B6A
secondary
#43B158
accent
#E76140
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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