#782267#782267

#782267 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.144 H 336.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#782267
RGBrgb(120, 34, 103)
HSLhsl(312, 56%, 30%)
HSVhsv(312, 72%, 47%)
CMYKcmyk(0%, 71.7%, 14.2%, 52.9%)
CIE-LABlab(29.71, 44.91, -20.78)
CIE-LCHlch(29.71, 49.49, 335.17°)
OKLaboklab(41.29% 0.132 -0.0565)
OKLCHoklch(41.29% 0.144 336.8)
XYZxyz(10.7661, 6.1174, 13.4431)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782267 #227833
analogous
#5E2278 #782267 #78223C
triadic
#782267 #677822 #226778
tetradic
#782267 #785E22 #227833 #223C78
square
#782267 #785E22 #227833 #223C78
split-complementary
#782267 #3C7822 #22785E
monochromatic
#190715 #48143E #782267 #A83090 #CB49B2

Accessibility & contrast

On white

9.45
#782267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#782267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782267
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782267#FFFFFF#000000##FFFFFF
##7822671.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E69
Deuteranopia (green-blind)
#404B65
Tritanopia (blue-blind)
#7E2741
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782267;
/* rgb */ color: rgb(120, 34, 103);
/* oklch */ color: oklch(41.3% 0.144 336.8);
Tailwind
colors: {
  custom: {
    50: '#a26592',
    500: '#782267',
    950: '#000000',
  },
}
SCSS
$custom: #782267;
$custom-light: #a26592;
$custom-dark: #000000;
JSON
{
  "hex": "#782267",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 311.86,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.14354,
    "h": 336.8
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#782267
secondary
#4BAB5E
accent
#DF6649
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #782267

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

Preview Lab → · Contrast checker → · Palette generator →

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