#792D5F#792D5F

#792D5F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 343.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#792D5F
RGBrgb(121, 45, 95)
HSLhsl(321, 46%, 33%)
HSVhsv(321, 63%, 47%)
CMYKcmyk(0%, 62.8%, 21.5%, 52.5%)
CIE-LABlab(31.27, 39.07, -13.19)
CIE-LCHlch(31.27, 41.24, 341.35°)
OKLaboklab(42.35% 0.1169 -0.0351)
OKLCHoklch(42.35% 0.122 343.3)
XYZxyz(10.8894, 6.7689, 11.5573)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D5F #2D7947
analogous
#6D2D79 #792D5F #792D39
triadic
#792D5F #5F792D #2D5F79
tetradic
#792D5F #796D2D #2D7947 #2D3979
square
#792D5F #796D2D #2D7947 #2D3979
split-complementary
#792D5F #39792D #2D796D
monochromatic
#200C19 #4C1C3C #792D5F #A63E82 #C35DA0

Accessibility & contrast

On white

8.92
#792D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D5F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D5F#FFFFFF#000000##FFFFFF
##792D5F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334261
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#802D42
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792d5f;
/* rgb */ color: rgb(121, 45, 95);
/* oklch */ color: oklch(42.4% 0.122 343.3);
Tailwind
colors: {
  custom: {
    50: '#a26b8c',
    500: '#792d5f',
    950: '#000000',
  },
}
SCSS
$custom: #792d5f;
$custom-light: #a26b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#792d5f",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 320.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.12204,
    "h": 343.3
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#792D5F
secondary
#58A974
accent
#D57F52
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #792D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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