#782268#782268

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

Color values

HEX#782268
RGBrgb(120, 34, 104)
HSLhsl(311, 56%, 30%)
HSVhsv(311, 72%, 47%)
CMYKcmyk(0%, 71.7%, 13.3%, 52.9%)
CIE-LABlab(29.76, 45.07, -21.35)
CIE-LCHlch(29.76, 49.87, 334.65°)
OKLaboklab(41.35% 0.1321 -0.0581)
OKLCHoklch(41.35% 0.144 336.3)
XYZxyz(10.8166, 6.1375, 13.7090)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782268 #227832
analogous
#5D2278 #782268 #78223D
triadic
#782268 #687822 #226878
tetradic
#782268 #785D22 #227832 #223D78
square
#782268 #785D22 #227832 #223D78
split-complementary
#782268 #3D7822 #22785D
monochromatic
#190715 #48143F #782268 #A83091 #CB49B3

Accessibility & contrast

On white

9.43
#782268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#782268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782268
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782268#FFFFFF#000000##FFFFFF
##7822681.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233E6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#7E2742
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782268;
/* rgb */ color: rgb(120, 34, 104);
/* oklch */ color: oklch(41.3% 0.144 336.3);
Tailwind
colors: {
  custom: {
    50: '#a26593',
    500: '#782268',
    950: '#000000',
  },
}
SCSS
$custom: #782268;
$custom-light: #a26593;
$custom-dark: #000000;
JSON
{
  "hex": "#782268",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 311.163,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.14431,
    "h": 336.3
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#782268
secondary
#4BAB5D
accent
#DF6549
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #782268

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

Preview Lab → · Contrast checker → · Palette generator →

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