#782A5E#782A5E

#782A5E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 343.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#782A5E
RGBrgb(120, 42, 94)
HSLhsl(320, 48%, 32%)
HSVhsv(320, 65%, 47%)
CMYKcmyk(0%, 65%, 21.7%, 52.9%)
CIE-LABlab(30.54, 40.03, -13.68)
CIE-LCHlch(30.54, 42.30, 341.13°)
OKLaboklab(41.76% 0.1198 -0.0365)
OKLCHoklch(41.76% 0.125 343.1)
XYZxyz(10.5944, 6.4581, 11.2761)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A5E #2A7844
analogous
#6B2A78 #782A5E #782A37
triadic
#782A5E #5E782A #2A5E78
tetradic
#782A5E #786B2A #2A7844 #2A3778
square
#782A5E #786B2A #2A7844 #2A3778
split-complementary
#782A5E #37782A #2A786B
monochromatic
#1D0A17 #4B1A3A #782A5E #A53A82 #C558A0

Accessibility & contrast

On white

9.16
#782A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#782A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A5E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A5E#FFFFFF#000000##FFFFFF
##782A5E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304060
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#7F2A40
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782a5e;
/* rgb */ color: rgb(120, 42, 94);
/* oklch */ color: oklch(41.8% 0.125 343.1);
Tailwind
colors: {
  custom: {
    50: '#a2698b',
    500: '#782a5e',
    950: '#000000',
  },
}
SCSS
$custom: #782a5e;
$custom-light: #a2698b;
$custom-dark: #000000;
JSON
{
  "hex": "#782a5e",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 320,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.12525,
    "h": 343.1
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#782A5E
secondary
#54AA71
accent
#D87D50
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #782A5E

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

Preview Lab → · Contrast checker → · Palette generator →

#782A5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva