#7D2160#7D2160

#7D2160 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.143 H 343.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7D2160
RGBrgb(125, 33, 96)
HSLhsl(319, 58%, 31%)
HSVhsv(319, 74%, 49%)
CMYKcmyk(0%, 73.6%, 23.2%, 51%)
CIE-LABlab(30.14, 45.61, -15.51)
CIE-LCHlch(30.14, 48.18, 341.22°)
OKLaboklab(41.67% 0.1372 -0.0415)
OKLCHoklch(41.67% 0.143 343.2)
XYZxyz(11.1130, 6.2933, 11.6935)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2160 #217D3E
analogous
#6C217D #7D2160 #7D2132
triadic
#7D2160 #607D21 #21607D
tetradic
#7D2160 #7D6C21 #217D3E #21327D
square
#7D2160 #7D6C21 #217D3E #21327D
split-complementary
#7D2160 #327D21 #217D6C
monochromatic
#1C0716 #4D143B #7D2160 #AD2E85 #CF49A5

Accessibility & contrast

On white

9.30
#7D2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2160
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2160#FFFFFF#000000##FFFFFF
##7D21601.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D62
Deuteranopia (green-blind)
#464C5E
Tritanopia (blue-blind)
#85213D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2160;
/* rgb */ color: rgb(125, 33, 96);
/* oklch */ color: oklch(41.7% 0.143 343.2);
Tailwind
colors: {
  custom: {
    50: '#a6658d',
    500: '#7d2160',
    950: '#000000',
  },
}
SCSS
$custom: #7d2160;
$custom-light: #a6658d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2160",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 318.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.14337,
    "h": 343.2
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#7D2160
secondary
#4AB06A
accent
#E17746
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2160

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

Preview Lab → · Contrast checker → · Palette generator →

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