#7D2155#7D2155

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

Color values

HEX#7D2155
RGBrgb(125, 33, 85)
HSLhsl(326, 58%, 31%)
HSVhsv(326, 74%, 49%)
CMYKcmyk(0%, 73.6%, 32%, 51%)
CIE-LABlab(29.68, 44.11, -9.04)
CIE-LCHlch(29.68, 45.03, 348.41°)
OKLaboklab(41.18% 0.1346 -0.0236)
OKLCHoklch(41.18% 0.137 350.1)
XYZxyz(10.6415, 6.1048, 9.2105)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2155 #217D49
analogous
#77217D #7D2155 #7D2127
triadic
#7D2155 #557D21 #21557D
tetradic
#7D2155 #7D7721 #217D49 #21277D
square
#7D2155 #7D7721 #217D49 #21277D
split-complementary
#7D2155 #277D21 #217D77
monochromatic
#1C0713 #4D1434 #7D2155 #AD2E76 #CF4995

Accessibility & contrast

On white

9.46
#7D2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2155
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2155#FFFFFF#000000##FFFFFF
##7D21551.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#861C38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2155;
/* rgb */ color: rgb(125, 33, 85);
/* oklch */ color: oklch(41.2% 0.137 350.1);
Tailwind
colors: {
  custom: {
    50: '#a66584',
    500: '#7d2155',
    950: '#000000',
  },
}
SCSS
$custom: #7d2155;
$custom-light: #a66584;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2155",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 326.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.13664,
    "h": 350.1
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7D2155
secondary
#4AB076
accent
#E18A46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2155

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

Preview Lab → · Contrast checker → · Palette generator →

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