#792154#792154

#792154 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.133 H 349.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#792154
RGBrgb(121, 33, 84)
HSLhsl(325, 57%, 30%)
HSVhsv(325, 73%, 47%)
CMYKcmyk(0%, 72.7%, 30.6%, 52.5%)
CIE-LABlab(28.89, 42.80, -9.65)
CIE-LCHlch(28.89, 43.88, 347.29°)
OKLaboklab(40.45% 0.1303 -0.0253)
OKLCHoklch(40.45% 0.133 349)
XYZxyz(10.0297, 5.7939, 8.9759)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792154 #217946
analogous
#722179 #792154 #792128
triadic
#792154 #547921 #215479
tetradic
#792154 #797221 #217946 #212879
square
#792154 #797221 #217946 #212879
split-complementary
#792154 #287921 #217972
monochromatic
#190711 #491433 #792154 #A92E75 #CD4795

Accessibility & contrast

On white

9.73
#792154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#792154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792154
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792154#FFFFFF#000000##FFFFFF
##7921541.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#821D37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792154;
/* rgb */ color: rgb(121, 33, 84);
/* oklch */ color: oklch(40.4% 0.133 349.0);
Tailwind
colors: {
  custom: {
    50: '#a36484',
    500: '#792154',
    950: '#000000',
  },
}
SCSS
$custom: #792154;
$custom-light: #a36484;
$custom-dark: #000000;
JSON
{
  "hex": "#792154",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 325.227,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.13276,
    "h": 349
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#792154
secondary
#4AAC73
accent
#E08847
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792154

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

Preview Lab → · Contrast checker → · Palette generator →

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