#7D2156#7D2156

#7D2156 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 349.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7D2156
RGBrgb(125, 33, 86)
HSLhsl(325, 58%, 31%)
HSVhsv(325, 74%, 49%)
CMYKcmyk(0%, 73.6%, 31.2%, 51%)
CIE-LABlab(29.72, 44.24, -9.64)
CIE-LCHlch(29.72, 45.28, 347.71°)
OKLaboklab(41.22% 0.1349 -0.0252)
OKLCHoklch(41.22% 0.137 349.4)
XYZxyz(10.6816, 6.1208, 9.4212)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2156 #217D48
analogous
#76217D #7D2156 #7D2128
triadic
#7D2156 #567D21 #21567D
tetradic
#7D2156 #7D7621 #217D48 #21287D
square
#7D2156 #7D7621 #217D48 #21287D
split-complementary
#7D2156 #287D21 #217D76
monochromatic
#1C0713 #4D1435 #7D2156 #AD2E77 #CF4996

Accessibility & contrast

On white

9.44
#7D2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2156
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2156#FFFFFF#000000##FFFFFF
##7D21561.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#494C54
Tritanopia (blue-blind)
#861C38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2156;
/* rgb */ color: rgb(125, 33, 86);
/* oklch */ color: oklch(41.2% 0.137 349.4);
Tailwind
colors: {
  custom: {
    50: '#a66585',
    500: '#7d2156',
    950: '#000000',
  },
}
SCSS
$custom: #7d2156;
$custom-light: #a66585;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2156",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 325.435,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.13721,
    "h": 349.4
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7D2156
secondary
#4AB075
accent
#E18846
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2156

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

Preview Lab → · Contrast checker → · Palette generator →

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