#7D1368#7D1368

#7D1368 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.164 H 338.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1368
RGBrgb(125, 19, 104)
HSLhsl(312, 74%, 28%)
HSVhsv(312, 85%, 49%)
CMYKcmyk(0%, 84.8%, 16.8%, 51%)
CIE-LABlab(28.97, 51.22, -22.51)
CIE-LCHlch(28.97, 55.95, 336.27°)
OKLaboklab(40.95% 0.1519 -0.0612)
OKLCHoklch(40.95% 0.164 338.1)
XYZxyz(11.1893, 5.8263, 13.6293)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1368 #137D28
analogous
#5D137D #7D1368 #7D1333
triadic
#7D1368 #687D13 #13687D
tetradic
#7D1368 #7D5D13 #137D28 #13337D
square
#7D1368 #7D5D13 #137D28 #13337D
split-complementary
#7D1368 #337D13 #137D5D
monochromatic
#1B0416 #480B3C #7D1368 #B21B94 #DF2CBB

Accessibility & contrast

On white

9.70
#7D1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1368
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1368#FFFFFF#000000##FFFFFF
##7D13681.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#841A3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1368;
/* rgb */ color: rgb(125, 19, 104);
/* oklch */ color: oklch(41.0% 0.164 338.1);
Tailwind
colors: {
  custom: {
    50: '#a66093',
    500: '#7d1368',
    950: '#000000',
  },
}
SCSS
$custom: #7d1368;
$custom-light: #a66093;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1368",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 311.887,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.1638,
    "h": 338.1
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#7D1368
secondary
#39B351
accent
#F05C38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D1368

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

Preview Lab → · Contrast checker → · Palette generator →

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