#7D2167#7D2167

#7D2167 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.148 H 339.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D2167
RGBrgb(125, 33, 103)
HSLhsl(314, 58%, 31%)
HSVhsv(314, 74%, 49%)
CMYKcmyk(0%, 73.6%, 17.6%, 51%)
CIE-LABlab(30.47, 46.65, -19.53)
CIE-LCHlch(30.47, 50.57, 337.28°)
OKLaboklab(42.02% 0.1385 -0.0528)
OKLCHoklch(42.02% 0.148 339.1)
XYZxyz(11.4498, 6.4280, 13.4671)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2167 #217D37
analogous
#65217D #7D2167 #7D2139
triadic
#7D2167 #677D21 #21677D
tetradic
#7D2167 #7D6521 #217D37 #21397D
square
#7D2167 #7D6521 #217D37 #21397D
split-complementary
#7D2167 #397D21 #217D65
monochromatic
#1C0717 #4D143F #7D2167 #AD2E8F #CF49AF

Accessibility & contrast

On white

9.19
#7D2167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D2167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2167
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2167#FFFFFF#000000##FFFFFF
##7D21671.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E69
Deuteranopia (green-blind)
#444D65
Tritanopia (blue-blind)
#842541
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2167;
/* rgb */ color: rgb(125, 33, 103);
/* oklch */ color: oklch(42.0% 0.148 339.1);
Tailwind
colors: {
  custom: {
    50: '#a66592',
    500: '#7d2167',
    950: '#000000',
  },
}
SCSS
$custom: #7d2167;
$custom-light: #a66592;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2167",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 314.348,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.14822,
    "h": 339.1
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#7D2167
secondary
#4AB062
accent
#E16B46
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D2167

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

Preview Lab → · Contrast checker → · Palette generator →

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