#792167#792167

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

Color values

HEX#792167
RGBrgb(121, 33, 103)
HSLhsl(312, 57%, 30%)
HSVhsv(312, 73%, 47%)
CMYKcmyk(0%, 72.7%, 14.9%, 52.5%)
CIE-LABlab(29.75, 45.58, -20.71)
CIE-LCHlch(29.75, 50.06, 335.56°)
OKLaboklab(41.36% 0.1342 -0.0562)
OKLCHoklch(41.36% 0.146 337.3)
XYZxyz(10.8774, 6.1329, 13.4402)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792167 #217933
analogous
#5F2179 #792167 #79213B
triadic
#792167 #677921 #216779
tetradic
#792167 #795F21 #217933 #213B79
square
#792167 #795F21 #217933 #213B79
split-complementary
#792167 #3B7921 #21795F
monochromatic
#190715 #49143E #792167 #A92E90 #CD47B2

Accessibility & contrast

On white

9.43
#792167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792167
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792167#FFFFFF#000000##FFFFFF
##7921671.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243D69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#802641
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792167;
/* rgb */ color: rgb(121, 33, 103);
/* oklch */ color: oklch(41.4% 0.146 337.3);
Tailwind
colors: {
  custom: {
    50: '#a36592',
    500: '#792167',
    950: '#000000',
  },
}
SCSS
$custom: #792167;
$custom-light: #a36592;
$custom-dark: #000000;
JSON
{
  "hex": "#792167",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 312.273,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.14554,
    "h": 337.3
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#792167
secondary
#4AAC5E
accent
#E06747
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #792167

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

Preview Lab → · Contrast checker → · Palette generator →

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