#793166#793166

#793166 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.121 H 339.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#793166
RGBrgb(121, 49, 102)
HSLhsl(316, 42%, 33%)
HSVhsv(316, 60%, 47%)
CMYKcmyk(0%, 59.5%, 15.7%, 52.5%)
CIE-LABlab(32.31, 38.23, -16.10)
CIE-LCHlch(32.31, 41.48, 337.16°)
OKLaboklab(43.21% 0.1127 -0.0433)
OKLCHoklch(43.21% 0.121 339)
XYZxyz(11.3819, 7.2218, 13.3623)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793166 #317944
analogous
#683179 #793166 #793142
triadic
#793166 #667931 #316679
tetradic
#793166 #796831 #317944 #314279
square
#793166 #796831 #317944 #314279
split-complementary
#793166 #427931 #317968
monochromatic
#220E1D #4D1F41 #793166 #A5438B #C064A8

Accessibility & contrast

On white

8.59
#793166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#793166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793166
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793166#FFFFFF#000000##FFFFFF
##7931661.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#495064
Tritanopia (blue-blind)
#7F3347
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #793166;
/* rgb */ color: rgb(121, 49, 102);
/* oklch */ color: oklch(43.2% 0.121 339.0);
Tailwind
colors: {
  custom: {
    50: '#a26d91',
    500: '#793166',
    950: '#000000',
  },
}
SCSS
$custom: #793166;
$custom-light: #a26d91;
$custom-dark: #000000;
JSON
{
  "hex": "#793166",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 315.833,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.1207,
    "h": 339
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#793166
secondary
#5EA872
accent
#D27756
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070D
muted
#7F7A7D

Preview Lab

Preview with #793166

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

Preview Lab → · Contrast checker → · Palette generator →

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