#7D1B52#7D1B52

#7D1B52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.142 H 351.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7D1B52
RGBrgb(125, 27, 82)
HSLhsl(326, 64%, 30%)
HSVhsv(326, 78%, 49%)
CMYKcmyk(0%, 78.4%, 34.4%, 51%)
CIE-LABlab(28.78, 45.91, -8.42)
CIE-LCHlch(28.78, 46.67, 349.61°)
OKLaboklab(40.49% 0.1406 -0.0218)
OKLCHoklch(40.49% 0.142 351.2)
XYZxyz(10.3730, 5.7543, 8.5454)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B52 #1B7D46
analogous
#771B7D #7D1B52 #7D1B21
triadic
#7D1B52 #527D1B #1B527D
tetradic
#7D1B52 #7D771B #1B7D46 #1B217D
square
#7D1B52 #7D771B #1B7D46 #1B217D
split-complementary
#7D1B52 #217D1B #1B7D77
monochromatic
#190511 #4B1031 #7D1B52 #AF2673 #D53D92

Accessibility & contrast

On white

9.76
#7D1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B52
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B52#FFFFFF#000000##FFFFFF
##7D1B521.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#871334
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1b52;
/* rgb */ color: rgb(125, 27, 82);
/* oklch */ color: oklch(40.5% 0.142 351.2);
Tailwind
colors: {
  custom: {
    50: '#a76282',
    500: '#7d1b52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b52;
$custom-light: #a76282;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b52",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 326.327,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.14227,
    "h": 351.2
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#7D1B52
secondary
#43B173
accent
#E78A40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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