#792054#792054

#792054 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.134 H 348.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#792054
RGBrgb(121, 32, 84)
HSLhsl(325, 58%, 30%)
HSVhsv(325, 74%, 47%)
CMYKcmyk(0%, 73.6%, 30.6%, 52.5%)
CIE-LABlab(28.74, 43.20, -9.87)
CIE-LCHlch(28.74, 44.31, 347.13°)
OKLaboklab(40.34% 0.1316 -0.0259)
OKLCHoklch(40.34% 0.134 348.9)
XYZxyz(10.0024, 5.7392, 8.9668)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792054 #207945
analogous
#722079 #792054 #792027
triadic
#792054 #547920 #205479
tetradic
#792054 #797220 #207945 #202779
square
#792054 #797220 #207945 #202779
split-complementary
#792054 #277920 #207972
monochromatic
#180611 #491332 #792054 #A92D76 #CE4595

Accessibility & contrast

On white

9.78
#792054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#792054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792054
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792054#FFFFFF#000000##FFFFFF
##7920541.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#474952
Tritanopia (blue-blind)
#821C37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792054;
/* rgb */ color: rgb(121, 32, 84);
/* oklch */ color: oklch(40.3% 0.134 348.9);
Tailwind
colors: {
  custom: {
    50: '#a36484',
    500: '#792054',
    950: '#000000',
  },
}
SCSS
$custom: #792054;
$custom-light: #a36484;
$custom-dark: #000000;
JSON
{
  "hex": "#792054",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 324.944,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.13408,
    "h": 348.9
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#792054
secondary
#49AC72
accent
#E18746
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #792054

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

Preview Lab → · Contrast checker → · Palette generator →

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