#782157#782157

#782157 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 346.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#782157
RGBrgb(120, 33, 87)
HSLhsl(323, 57%, 30%)
HSVhsv(323, 73%, 47%)
CMYKcmyk(0%, 72.5%, 27.5%, 52.9%)
CIE-LABlab(28.82, 42.91, -11.74)
CIE-LCHlch(28.82, 44.49, 344.70°)
OKLaboklab(40.41% 0.1301 -0.031)
OKLCHoklch(40.41% 0.134 346.6)
XYZxyz(10.0103, 5.7700, 9.6015)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782157 #217842
analogous
#6E2178 #782157 #78212B
triadic
#782157 #577821 #215778
tetradic
#782157 #786E21 #217842 #212B78
square
#782157 #786E21 #217842 #212B78
split-complementary
#782157 #2B7821 #21786E
monochromatic
#180711 #481434 #782157 #A82E7A #CC479A

Accessibility & contrast

On white

9.75
#782157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#782157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782157
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782157#FFFFFF#000000##FFFFFF
##7821571.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#801F39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782157;
/* rgb */ color: rgb(120, 33, 87);
/* oklch */ color: oklch(40.4% 0.134 346.6);
Tailwind
colors: {
  custom: {
    50: '#a26486',
    500: '#782157',
    950: '#000000',
  },
}
SCSS
$custom: #782157;
$custom-light: #a26486;
$custom-dark: #000000;
JSON
{
  "hex": "#782157",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 322.759,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.13374,
    "h": 346.6
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#782157
secondary
#4AAB6F
accent
#E08248
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782157

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

Preview Lab → · Contrast checker → · Palette generator →

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