#7D1B68#7D1B68

#7D1B68 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.156 H 338.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7D1B68
RGBrgb(125, 27, 104)
HSLhsl(313, 64%, 30%)
HSVhsv(313, 78%, 49%)
CMYKcmyk(0%, 78.4%, 16.8%, 51%)
CIE-LABlab(29.77, 48.91, -21.26)
CIE-LCHlch(29.77, 53.33, 336.51°)
OKLaboklab(41.53% 0.145 -0.0577)
OKLCHoklch(41.53% 0.156 338.3)
XYZxyz(11.3483, 6.1444, 13.6823)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B68 #1B7D30
analogous
#611B7D #7D1B68 #7D1B37
triadic
#7D1B68 #687D1B #1B687D
tetradic
#7D1B68 #7D611B #1B7D30 #1B377D
square
#7D1B68 #7D611B #1B7D30 #1B377D
split-complementary
#7D1B68 #377D1B #1B7D61
monochromatic
#190515 #4B103E #7D1B68 #AF2692 #D53DB5

Accessibility & contrast

On white

9.42
#7D1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B68
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B68#FFFFFF#000000##FFFFFF
##7D1B681.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#414C66
Tritanopia (blue-blind)
#842040
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1b68;
/* rgb */ color: rgb(125, 27, 104);
/* oklch */ color: oklch(41.5% 0.156 338.3);
Tailwind
colors: {
  custom: {
    50: '#a66393',
    500: '#7d1b68',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b68;
$custom-light: #a66393;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b68",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 312.857,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.15602,
    "h": 338.3
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#7D1B68
secondary
#43B15A
accent
#E76440
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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