#792161#792161

#792161 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.141 H 340.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#792161
RGBrgb(121, 33, 97)
HSLhsl(316, 57%, 30%)
HSVhsv(316, 73%, 47%)
CMYKcmyk(0%, 72.7%, 19.8%, 52.5%)
CIE-LABlab(29.45, 44.65, -17.28)
CIE-LCHlch(29.45, 47.88, 338.84°)
OKLaboklab(41.05% 0.1333 -0.0465)
OKLCHoklch(41.05% 0.141 340.8)
XYZxyz(10.5870, 6.0168, 11.9107)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792161 #217939
analogous
#652179 #792161 #792135
triadic
#792161 #617921 #216179
tetradic
#792161 #796521 #217939 #213579
square
#792161 #796521 #217939 #213579
split-complementary
#792161 #357921 #217965
monochromatic
#190714 #49143A #792161 #A92E88 #CD47A9

Accessibility & contrast

On white

9.53
#792161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#792161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792161
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792161#FFFFFF#000000##FFFFFF
##7921611.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C63
Deuteranopia (green-blind)
#434B5F
Tritanopia (blue-blind)
#80233E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792161;
/* rgb */ color: rgb(121, 33, 97);
/* oklch */ color: oklch(41.0% 0.141 340.8);
Tailwind
colors: {
  custom: {
    50: '#a3658e',
    500: '#792161',
    950: '#000000',
  },
}
SCSS
$custom: #792161;
$custom-light: #a3658e;
$custom-dark: #000000;
JSON
{
  "hex": "#792161",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 316.364,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.14116,
    "h": 340.8
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#792161
secondary
#4AAC65
accent
#E07147
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #792161

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

Preview Lab → · Contrast checker → · Palette generator →

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