#782147#782147

#782147 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.125 H 357.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#782147
RGBrgb(120, 33, 71)
HSLhsl(334, 57%, 30%)
HSVhsv(334, 73%, 47%)
CMYKcmyk(0%, 72.5%, 40.8%, 52.9%)
CIE-LABlab(28.21, 40.88, -2.07)
CIE-LCHlch(28.21, 40.93, 357.11°)
OKLaboklab(39.76% 0.1253 -0.0049)
OKLCHoklch(39.76% 0.125 357.8)
XYZxyz(9.4275, 5.5369, 6.5323)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782147 #217852
analogous
#782173 #782147 #782621
triadic
#782147 #477821 #214778
tetradic
#782147 #737821 #217852 #262178
square
#782147 #737821 #217852 #262178
split-complementary
#782147 #217826 #217378
monochromatic
#18070E #48142B #782147 #A82E63 #CC4781

Accessibility & contrast

On white

9.97
#782147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#782147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782147
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782147#FFFFFF#000000##FFFFFF
##7821471.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#821731
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782147;
/* rgb */ color: rgb(120, 33, 71);
/* oklch */ color: oklch(39.8% 0.125 357.8);
Tailwind
colors: {
  custom: {
    50: '#a3647a',
    500: '#782147',
    950: '#000000',
  },
}
SCSS
$custom: #782147;
$custom-light: #a3647a;
$custom-dark: #000000;
JSON
{
  "hex": "#782147",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 333.793,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.12539,
    "h": 357.8
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#782147
secondary
#4AAB81
accent
#E09E48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #782147

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

Preview Lab → · Contrast checker → · Palette generator →

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