#792A5F#792A5F

#792A5F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.127 H 342.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#792A5F
RGBrgb(121, 42, 95)
HSLhsl(320, 48%, 32%)
HSVhsv(320, 65%, 47%)
CMYKcmyk(0%, 65.3%, 21.5%, 52.5%)
CIE-LABlab(30.76, 40.49, -13.98)
CIE-LCHlch(30.76, 42.83, 340.95°)
OKLaboklab(41.97% 0.1212 -0.0373)
OKLCHoklch(41.97% 0.127 342.9)
XYZxyz(10.7790, 6.5481, 11.5205)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A5F #2A7944
analogous
#6C2A79 #792A5F #792A38
triadic
#792A5F #5F792A #2A5F79
tetradic
#792A5F #796C2A #2A7944 #2A3879
square
#792A5F #796C2A #2A7944 #2A3879
split-complementary
#792A5F #38792A #2A796C
monochromatic
#1E0A18 #4C1A3B #792A5F #A63A83 #C558A1

Accessibility & contrast

On white

9.09
#792A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#792A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A5F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A5F#FFFFFF#000000##FFFFFF
##792A5F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#812A40
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792a5f;
/* rgb */ color: rgb(121, 42, 95);
/* oklch */ color: oklch(42.0% 0.127 342.9);
Tailwind
colors: {
  custom: {
    50: '#a2698c',
    500: '#792a5f',
    950: '#000000',
  },
}
SCSS
$custom: #792a5f;
$custom-light: #a2698c;
$custom-dark: #000000;
JSON
{
  "hex": "#792a5f",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 319.747,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4197,
    "c": 0.12678,
    "h": 342.9
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#792A5F
secondary
#54AB71
accent
#D87D50
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #792A5F

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

Preview Lab → · Contrast checker → · Palette generator →

#792A5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva