#792162#792162

#792162 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.142 H 340.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#792162
RGBrgb(121, 33, 98)
HSLhsl(316, 57%, 30%)
HSVhsv(316, 73%, 47%)
CMYKcmyk(0%, 72.7%, 19%, 52.5%)
CIE-LABlab(29.50, 44.80, -17.86)
CIE-LCHlch(29.50, 48.23, 338.27°)
OKLaboklab(41.1% 0.1335 -0.0481)
OKLCHoklch(41.1% 0.142 340.2)
XYZxyz(10.6339, 6.0355, 12.1578)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792162 #217938
analogous
#642179 #792162 #792136
triadic
#792162 #627921 #216279
tetradic
#792162 #796421 #217938 #213679
square
#792162 #796421 #217938 #213679
split-complementary
#792162 #367921 #217964
monochromatic
#190714 #49143B #792162 #A92E89 #CD47AA

Accessibility & contrast

On white

9.52
#792162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792162
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792162#FFFFFF#000000##FFFFFF
##7921621.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792162;
/* rgb */ color: rgb(121, 33, 98);
/* oklch */ color: oklch(41.1% 0.142 340.2);
Tailwind
colors: {
  custom: {
    50: '#a3658f',
    500: '#792162',
    950: '#000000',
  },
}
SCSS
$custom: #792162;
$custom-light: #a3658f;
$custom-dark: #000000;
JSON
{
  "hex": "#792162",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 315.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.14187,
    "h": 340.2
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#792162
secondary
#4AAC63
accent
#E06F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #792162

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

Preview Lab → · Contrast checker → · Palette generator →

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