#782256#782256

#782256 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.132 H 347.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#782256
RGBrgb(120, 34, 86)
HSLhsl(324, 56%, 30%)
HSVhsv(324, 72%, 47%)
CMYKcmyk(0%, 71.7%, 28.3%, 52.9%)
CIE-LABlab(28.93, 42.37, -10.92)
CIE-LCHlch(28.93, 43.76, 345.55°)
OKLaboklab(40.47% 0.1286 -0.0288)
OKLCHoklch(40.47% 0.132 347.4)
XYZxyz(9.9979, 5.8101, 9.3972)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782256 #227844
analogous
#6F2278 #782256 #78222B
triadic
#782256 #567822 #225678
tetradic
#782256 #786F22 #227844 #222B78
square
#782256 #786F22 #227844 #222B78
split-complementary
#782256 #2B7822 #22786F
monochromatic
#190712 #481434 #782256 #A83078 #CB4998

Accessibility & contrast

On white

9.71
#782256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782256
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782256#FFFFFF#000000##FFFFFF
##7822561.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#811F39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782256;
/* rgb */ color: rgb(120, 34, 86);
/* oklch */ color: oklch(40.5% 0.132 347.4);
Tailwind
colors: {
  custom: {
    50: '#a26585',
    500: '#782256',
    950: '#000000',
  },
}
SCSS
$custom: #782256;
$custom-light: #a26585;
$custom-dark: #000000;
JSON
{
  "hex": "#782256",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 323.721,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.13176,
    "h": 347.4
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#782256
secondary
#4BAB71
accent
#DF8449
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782256

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

Preview Lab → · Contrast checker → · Palette generator →

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