#7D1B5C#7D1B5C

#7D1B5C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.148 H 345.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7D1B5C
RGBrgb(125, 27, 92)
HSLhsl(320, 64%, 30%)
HSVhsv(320, 78%, 49%)
CMYKcmyk(0%, 78.4%, 26.4%, 51%)
CIE-LABlab(29.20, 47.19, -14.35)
CIE-LCHlch(29.20, 49.33, 343.09°)
OKLaboklab(40.93% 0.143 -0.0382)
OKLCHoklch(40.93% 0.148 345.1)
XYZxyz(10.7816, 5.9177, 10.6976)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B5C #1B7D3C
analogous
#6D1B7D #7D1B5C #7D1B2B
triadic
#7D1B5C #5C7D1B #1B5C7D
tetradic
#7D1B5C #7D6D1B #1B7D3C #1B2B7D
square
#7D1B5C #7D6D1B #1B7D3C #1B2B7D
split-complementary
#7D1B5C #2B7D1B #1B7D6D
monochromatic
#190513 #4B1037 #7D1B5C #AF2681 #D53DA2

Accessibility & contrast

On white

9.62
#7D1B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B5C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B5C#FFFFFF#000000##FFFFFF
##7D1B5C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#454B5A
Tritanopia (blue-blind)
#861939
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1b5c;
/* rgb */ color: rgb(125, 27, 92);
/* oklch */ color: oklch(40.9% 0.148 345.1);
Tailwind
colors: {
  custom: {
    50: '#a6628a',
    500: '#7d1b5c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b5c;
$custom-light: #a6628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b5c",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 320.204,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.14802,
    "h": 345.1
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#7D1B5C
secondary
#43B168
accent
#E77940
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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