#792164#792164

#792164 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.143 H 339.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#792164
RGBrgb(121, 33, 100)
HSLhsl(314, 57%, 30%)
HSVhsv(314, 73%, 47%)
CMYKcmyk(0%, 72.7%, 17.4%, 52.5%)
CIE-LABlab(29.60, 45.11, -19.00)
CIE-LCHlch(29.60, 48.95, 337.15°)
OKLaboklab(41.2% 0.1338 -0.0514)
OKLCHoklch(41.2% 0.143 339)
XYZxyz(10.7295, 6.0738, 12.6614)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792164 #217936
analogous
#622179 #792164 #792138
triadic
#792164 #647921 #216479
tetradic
#792164 #796221 #217936 #213879
square
#792164 #796221 #217936 #213879
split-complementary
#792164 #387921 #217962
monochromatic
#190715 #49143C #792164 #A92E8C #CD47AD

Accessibility & contrast

On white

9.48
#792164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#792164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792164
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792164#FFFFFF#000000##FFFFFF
##7921641.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#80243F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792164;
/* rgb */ color: rgb(121, 33, 100);
/* oklch */ color: oklch(41.2% 0.143 339.0);
Tailwind
colors: {
  custom: {
    50: '#a36590',
    500: '#792164',
    950: '#000000',
  },
}
SCSS
$custom: #792164;
$custom-light: #a36590;
$custom-dark: #000000;
JSON
{
  "hex": "#792164",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 314.318,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.14331,
    "h": 339
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#792164
secondary
#4AAC61
accent
#E06C47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #792164

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

Preview Lab → · Contrast checker → · Palette generator →

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