#7D1968#7D1968

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

Color values

HEX#7D1968
RGBrgb(125, 25, 104)
HSLhsl(313, 67%, 29%)
HSVhsv(313, 80%, 49%)
CMYKcmyk(0%, 80%, 16.8%, 51%)
CIE-LABlab(29.55, 49.54, -21.60)
CIE-LCHlch(29.55, 54.04, 336.44°)
OKLaboklab(41.37% 0.1469 -0.0586)
OKLCHoklch(41.37% 0.158 338.2)
XYZxyz(11.3040, 6.0558, 13.6676)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1968 #197D2E
analogous
#60197D #7D1968 #7D1936
triadic
#7D1968 #687D19 #19687D
tetradic
#7D1968 #7D6019 #197D2E #19367D
square
#7D1968 #7D6019 #197D2E #19367D
split-complementary
#7D1968 #367D19 #197D60
monochromatic
#1A0515 #4A0F3E #7D1968 #B02392 #D739B6

Accessibility & contrast

On white

9.50
#7D1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1968
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1968#FFFFFF#000000##FFFFFF
##7D19681.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1968;
/* rgb */ color: rgb(125, 25, 104);
/* oklch */ color: oklch(41.4% 0.158 338.2);
Tailwind
colors: {
  custom: {
    50: '#a66293',
    500: '#7d1968',
    950: '#000000',
  },
}
SCSS
$custom: #7d1968;
$custom-light: #a66293;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1968",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 312.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.15815,
    "h": 338.2
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#7D1968
secondary
#40B158
accent
#EA623E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1968

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

Preview Lab → · Contrast checker → · Palette generator →

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