#7D1A68#7D1A68

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

Color values

HEX#7D1A68
RGBrgb(125, 26, 104)
HSLhsl(313, 66%, 30%)
HSVhsv(313, 79%, 49%)
CMYKcmyk(0%, 79.2%, 16.8%, 51%)
CIE-LABlab(29.66, 49.23, -21.43)
CIE-LCHlch(29.66, 53.69, 336.47°)
OKLaboklab(41.45% 0.1459 -0.0582)
OKLCHoklch(41.45% 0.157 338.3)
XYZxyz(11.3258, 6.0993, 13.6748)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A68 #1A7D2F
analogous
#611A7D #7D1A68 #7D1A37
triadic
#7D1A68 #687D1A #1A687D
tetradic
#7D1A68 #7D611A #1A7D2F #1A377D
square
#7D1A68 #7D611A #1A7D2F #1A377D
split-complementary
#7D1A68 #377D1A #1A7D61
monochromatic
#190515 #4A0F3E #7D1A68 #B02592 #D63BB5

Accessibility & contrast

On white

9.46
#7D1A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A68
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A68#FFFFFF#000000##FFFFFF
##7D1A681.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#414B66
Tritanopia (blue-blind)
#841F3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1a68;
/* rgb */ color: rgb(125, 26, 104);
/* oklch */ color: oklch(41.4% 0.157 338.3);
Tailwind
colors: {
  custom: {
    50: '#a66393',
    500: '#7d1a68',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a68;
$custom-light: #a66393;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a68",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 312.727,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.1571,
    "h": 338.3
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#7D1A68
secondary
#42B159
accent
#E9633F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1A68

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

Preview Lab → · Contrast checker → · Palette generator →

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