#783166#783166

#783166 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 43.1% C 0.120 H 338.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#783166
RGBrgb(120, 49, 102)
HSLhsl(315, 42%, 33%)
HSVhsv(315, 59%, 47%)
CMYKcmyk(0%, 59.2%, 15%, 52.9%)
CIE-LABlab(32.15, 37.91, -16.36)
CIE-LCHlch(32.15, 41.29, 336.66°)
OKLaboklab(43.06% 0.1115 -0.0441)
OKLCHoklch(43.06% 0.12 338.4)
XYZxyz(11.2425, 7.1499, 13.3557)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783166 #317843
analogous
#663178 #783166 #783142
triadic
#783166 #667831 #316678
tetradic
#783166 #786631 #317843 #314278
square
#783166 #786631 #317843 #314278
split-complementary
#783166 #427831 #317866
monochromatic
#210E1C #4D1F41 #783166 #A3438B #C064A8

Accessibility & contrast

On white

8.64
#783166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#783166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783166
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783166#FFFFFF#000000##FFFFFF
##7831661.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334568
Deuteranopia (green-blind)
#485064
Tritanopia (blue-blind)
#7E3347
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #783166;
/* rgb */ color: rgb(120, 49, 102);
/* oklch */ color: oklch(43.1% 0.120 338.4);
Tailwind
colors: {
  custom: {
    50: '#a16d91',
    500: '#783166',
    950: '#000000',
  },
}
SCSS
$custom: #783166;
$custom-light: #a16d91;
$custom-dark: #000000;
JSON
{
  "hex": "#783166",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 315.211,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.11989,
    "h": 338.4
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#783166
secondary
#5EA770
accent
#D27556
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070D
muted
#7F7A7D

Preview Lab

Preview with #783166

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

Preview Lab → · Contrast checker → · Palette generator →

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