#7D1768#7D1768

#7D1768 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.160 H 338.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D1768
RGBrgb(125, 23, 104)
HSLhsl(312, 69%, 29%)
HSVhsv(312, 82%, 49%)
CMYKcmyk(0%, 81.6%, 16.8%, 51%)
CIE-LABlab(29.35, 50.13, -21.92)
CIE-LCHlch(29.35, 54.72, 336.38°)
OKLaboklab(41.22% 0.1487 -0.0595)
OKLCHoklch(41.22% 0.16 338.2)
XYZxyz(11.2628, 5.9734, 13.6538)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1768 #177D2C
analogous
#5F177D #7D1768 #7D1735
triadic
#7D1768 #687D17 #17687D
tetradic
#7D1768 #7D5F17 #177D2C #17357D
square
#7D1768 #7D5F17 #177D2C #17357D
split-complementary
#7D1768 #357D17 #177D5F
monochromatic
#1A0516 #490D3D #7D1768 #B12193 #DA35B8

Accessibility & contrast

On white

9.57
#7D1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1768
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1768#FFFFFF#000000##FFFFFF
##7D17681.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1768;
/* rgb */ color: rgb(125, 23, 104);
/* oklch */ color: oklch(41.2% 0.160 338.2);
Tailwind
colors: {
  custom: {
    50: '#a66193',
    500: '#7d1768',
    950: '#000000',
  },
}
SCSS
$custom: #7d1768;
$custom-light: #a66193;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1768",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 312.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.16016,
    "h": 338.2
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#7D1768
secondary
#3EB256
accent
#EC603C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1768

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

Preview Lab → · Contrast checker → · Palette generator →

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