#781752#781752

#781752 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 348.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#781752
RGBrgb(120, 23, 82)
HSLhsl(324, 68%, 28%)
HSVhsv(324, 81%, 47%)
CMYKcmyk(0%, 80.8%, 31.7%, 52.9%)
CIE-LABlab(27.34, 45.84, -10.69)
CIE-LCHlch(27.34, 47.07, 346.87°)
OKLaboklab(39.26% 0.14 -0.0281)
OKLCHoklch(39.26% 0.143 348.7)
XYZxyz(9.5756, 5.2162, 8.4836)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781752 #17783D
analogous
#6D1778 #781752 #781722
triadic
#781752 #527817 #175278
tetradic
#781752 #786D17 #17783D #172278
square
#781752 #786D17 #17783D #172278
split-complementary
#781752 #227817 #17786D
monochromatic
#1A0512 #450D2F #781752 #AB2175 #D83297

Accessibility & contrast

On white

10.28
#781752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781752
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781752#FFFFFF#000000##FFFFFF
##7817521.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273654
Deuteranopia (green-blind)
#444750
Tritanopia (blue-blind)
#811132
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781752;
/* rgb */ color: rgb(120, 23, 82);
/* oklch */ color: oklch(39.3% 0.143 348.7);
Tailwind
colors: {
  custom: {
    50: '#a36082',
    500: '#781752',
    950: '#000000',
  },
}
SCSS
$custom: #781752;
$custom-light: #a36082;
$custom-dark: #000000;
JSON
{
  "hex": "#781752",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 323.505,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.14282,
    "h": 348.7
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#781752
secondary
#3EAD69
accent
#EB813D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #781752

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

Preview Lab → · Contrast checker → · Palette generator →

#781752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva