#792166#792166

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

Color values

HEX#792166
RGBrgb(121, 33, 102)
HSLhsl(313, 57%, 30%)
HSVhsv(313, 73%, 47%)
CMYKcmyk(0%, 72.7%, 15.7%, 52.5%)
CIE-LABlab(29.70, 45.42, -20.14)
CIE-LCHlch(29.70, 49.68, 336.08°)
OKLaboklab(41.3% 0.1341 -0.0546)
OKLCHoklch(41.3% 0.145 337.8)
XYZxyz(10.8275, 6.1130, 13.1775)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792166 #217934
analogous
#602179 #792166 #79213A
triadic
#792166 #667921 #216679
tetradic
#792166 #796021 #217934 #213A79
square
#792166 #796021 #217934 #213A79
split-complementary
#792166 #3A7921 #217960
monochromatic
#190715 #49143D #792166 #A92E8F #CD47B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792166#FFFFFF#000000##FFFFFF
##7921661.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)
#243D68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#802540
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792166;
/* rgb */ color: rgb(121, 33, 102);
/* oklch */ color: oklch(41.3% 0.145 337.8);
Tailwind
colors: {
  custom: {
    50: '#a36592',
    500: '#792166',
    950: '#000000',
  },
}
SCSS
$custom: #792166;
$custom-light: #a36592;
$custom-dark: #000000;
JSON
{
  "hex": "#792166",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 312.955,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.14478,
    "h": 337.8
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#792166
secondary
#4AAC5F
accent
#E06847
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #792166

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

Preview Lab → · Contrast checker → · Palette generator →

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