#792168#792168

#792168 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.146 H 336.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#792168
RGBrgb(121, 33, 104)
HSLhsl(312, 57%, 30%)
HSVhsv(312, 73%, 47%)
CMYKcmyk(0%, 72.7%, 14%, 52.5%)
CIE-LABlab(29.80, 45.73, -21.28)
CIE-LCHlch(29.80, 50.44, 335.05°)
OKLaboklab(41.41% 0.1344 -0.0579)
OKLCHoklch(41.41% 0.146 336.7)
XYZxyz(10.9279, 6.1531, 13.7062)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792168 #217932
analogous
#5E2179 #792168 #79213C
triadic
#792168 #687921 #216879
tetradic
#792168 #795E21 #217932 #213C79
square
#792168 #795E21 #217932 #213C79
split-complementary
#792168 #3C7921 #21795E
monochromatic
#190715 #49143F #792168 #A92E91 #CD47B3

Accessibility & contrast

On white

9.42
#792168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792168
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792168#FFFFFF#000000##FFFFFF
##7921681.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792168;
/* rgb */ color: rgb(121, 33, 104);
/* oklch */ color: oklch(41.4% 0.146 336.7);
Tailwind
colors: {
  custom: {
    50: '#a36593',
    500: '#792168',
    950: '#000000',
  },
}
SCSS
$custom: #792168;
$custom-light: #a36593;
$custom-dark: #000000;
JSON
{
  "hex": "#792168",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 311.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.14629,
    "h": 336.7
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#792168
secondary
#4AAC5D
accent
#E06547
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #792168

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

Preview Lab → · Contrast checker → · Palette generator →

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