#7D1966#7D1966

#7D1966 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.157 H 339.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7D1966
RGBrgb(125, 25, 102)
HSLhsl(314, 67%, 29%)
HSVhsv(314, 80%, 49%)
CMYKcmyk(0%, 80%, 18.4%, 51%)
CIE-LABlab(29.45, 49.24, -20.47)
CIE-LCHlch(29.45, 53.33, 337.43°)
OKLaboklab(41.27% 0.1466 -0.0554)
OKLCHoklch(41.27% 0.157 339.3)
XYZxyz(11.2037, 6.0157, 13.1389)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1966 #197D30
analogous
#62197D #7D1966 #7D1934
triadic
#7D1966 #667D19 #19667D
tetradic
#7D1966 #7D6219 #197D30 #19347D
square
#7D1966 #7D6219 #197D30 #19347D
split-complementary
#7D1966 #347D19 #197D62
monochromatic
#1A0515 #4A0F3C #7D1966 #B02390 #D739B3

Accessibility & contrast

On white

9.53
#7D1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1966
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1966#FFFFFF#000000##FFFFFF
##7D19661.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#851D3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1966;
/* rgb */ color: rgb(125, 25, 102);
/* oklch */ color: oklch(41.3% 0.157 339.3);
Tailwind
colors: {
  custom: {
    50: '#a66292',
    500: '#7d1966',
    950: '#000000',
  },
}
SCSS
$custom: #7d1966;
$custom-light: #a66292;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1966",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 313.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41266,
    "c": 0.15676,
    "h": 339.3
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#7D1966
secondary
#40B15A
accent
#EA663E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7D1966

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

Preview Lab → · Contrast checker → · Palette generator →

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