#7D1B6B#7D1B6B

#7D1B6B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.158 H 336.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7D1B6B
RGBrgb(125, 27, 107)
HSLhsl(311, 64%, 30%)
HSVhsv(311, 78%, 49%)
CMYKcmyk(0%, 78.4%, 14.4%, 51%)
CIE-LABlab(29.93, 49.36, -22.95)
CIE-LCHlch(29.93, 54.43, 335.07°)
OKLaboklab(41.69% 0.1453 -0.0625)
OKLCHoklch(41.69% 0.158 336.7)
XYZxyz(11.5034, 6.2065, 14.4992)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B6B #1B7D2D
analogous
#5E1B7D #7D1B6B #7D1B3A
triadic
#7D1B6B #6B7D1B #1B6B7D
tetradic
#7D1B6B #7D5E1B #1B7D2D #1B3A7D
square
#7D1B6B #7D5E1B #1B7D2D #1B3A7D
split-complementary
#7D1B6B #3A7D1B #1B7D5E
monochromatic
#190516 #4B1040 #7D1B6B #AF2696 #D53DB9

Accessibility & contrast

On white

9.37
#7D1B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B6B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B6B#FFFFFF#000000##FFFFFF
##7D1B6B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#404C69
Tritanopia (blue-blind)
#842241
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1b6b;
/* rgb */ color: rgb(125, 27, 107);
/* oklch */ color: oklch(41.7% 0.158 336.7);
Tailwind
colors: {
  custom: {
    50: '#a66395',
    500: '#7d1b6b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b6b;
$custom-light: #a66395;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b6b",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 311.02,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.15817,
    "h": 336.7
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#7D1B6B
secondary
#43B157
accent
#E75F40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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