#7D1668#7D1668

#7D1668 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.161 H 338.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D1668
RGBrgb(125, 22, 104)
HSLhsl(312, 70%, 29%)
HSVhsv(312, 82%, 49%)
CMYKcmyk(0%, 82.4%, 16.8%, 51%)
CIE-LABlab(29.25, 50.42, -22.08)
CIE-LCHlch(29.25, 55.04, 336.35°)
OKLaboklab(41.15% 0.1495 -0.06)
OKLCHoklch(41.15% 0.161 338.1)
XYZxyz(11.2433, 5.9344, 13.6473)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1668 #167D2B
analogous
#5F167D #7D1668 #7D1635
triadic
#7D1668 #687D16 #16687D
tetradic
#7D1668 #7D5F16 #167D2B #16357D
square
#7D1668 #7D5F16 #167D2B #16357D
split-complementary
#7D1668 #357D16 #167D5F
monochromatic
#1A0516 #490D3D #7D1668 #B11F93 #DB32B9

Accessibility & contrast

On white

9.60
#7D1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1668
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1668#FFFFFF#000000##FFFFFF
##7D16681.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#404A66
Tritanopia (blue-blind)
#841C3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1668;
/* rgb */ color: rgb(125, 22, 104);
/* oklch */ color: oklch(41.2% 0.161 338.1);
Tailwind
colors: {
  custom: {
    50: '#a66193',
    500: '#7d1668',
    950: '#000000',
  },
}
SCSS
$custom: #7d1668;
$custom-light: #a66193;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1668",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 312.233,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.16111,
    "h": 338.1
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7D1668
secondary
#3DB255
accent
#ED5F3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1668

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

Preview Lab → · Contrast checker → · Palette generator →

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