#7D2163#7D2163

#7D2163 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.145 H 341.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2163
RGBrgb(125, 33, 99)
HSLhsl(317, 58%, 31%)
HSVhsv(317, 74%, 49%)
CMYKcmyk(0%, 73.6%, 20.8%, 51%)
CIE-LABlab(30.28, 46.05, -17.24)
CIE-LCHlch(30.28, 49.17, 339.47°)
OKLaboklab(41.82% 0.1378 -0.0463)
OKLCHoklch(41.82% 0.145 341.4)
XYZxyz(11.2538, 6.3496, 12.4349)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2163 #217D3B
analogous
#69217D #7D2163 #7D2135
triadic
#7D2163 #637D21 #21637D
tetradic
#7D2163 #7D6921 #217D3B #21357D
square
#7D2163 #7D6921 #217D3B #21357D
split-complementary
#7D2163 #357D21 #217D69
monochromatic
#1C0716 #4D143D #7D2163 #AD2E89 #CF49A9

Accessibility & contrast

On white

9.25
#7D2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2163
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2163#FFFFFF#000000##FFFFFF
##7D21631.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E65
Deuteranopia (green-blind)
#454D61
Tritanopia (blue-blind)
#85233F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2163;
/* rgb */ color: rgb(125, 33, 99);
/* oklch */ color: oklch(41.8% 0.145 341.4);
Tailwind
colors: {
  custom: {
    50: '#a6658f',
    500: '#7d2163',
    950: '#000000',
  },
}
SCSS
$custom: #7d2163;
$custom-light: #a6658f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2163",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 316.957,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.1454,
    "h": 341.4
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#7D2163
secondary
#4AB067
accent
#E17246
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2163

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

Preview Lab → · Contrast checker → · Palette generator →

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