#792A5D#792A5D

#792A5D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.125 H 344.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#792A5D
RGBrgb(121, 42, 93)
HSLhsl(321, 48%, 32%)
HSVhsv(321, 65%, 47%)
CMYKcmyk(0%, 65.3%, 23.1%, 52.5%)
CIE-LABlab(30.67, 40.18, -12.82)
CIE-LCHlch(30.67, 42.18, 342.31°)
OKLaboklab(41.88% 0.1207 -0.0341)
OKLCHoklch(41.88% 0.125 344.2)
XYZxyz(10.6892, 6.5122, 11.0478)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A5D #2A7946
analogous
#6E2A79 #792A5D #792A36
triadic
#792A5D #5D792A #2A5D79
tetradic
#792A5D #796E2A #2A7946 #2A3679
square
#792A5D #796E2A #2A7946 #2A3679
split-complementary
#792A5D #36792A #2A796E
monochromatic
#1E0A17 #4C1A3A #792A5D #A63A80 #C5589F

Accessibility & contrast

On white

9.12
#792A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A5D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A5D#FFFFFF#000000##FFFFFF
##792A5D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#812A3F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792a5d;
/* rgb */ color: rgb(121, 42, 93);
/* oklch */ color: oklch(41.9% 0.125 344.2);
Tailwind
colors: {
  custom: {
    50: '#a2698b',
    500: '#792a5d',
    950: '#000000',
  },
}
SCSS
$custom: #792a5d;
$custom-light: #a2698b;
$custom-dark: #000000;
JSON
{
  "hex": "#792a5d",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 321.266,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.1254,
    "h": 344.2
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#792A5D
secondary
#54AB73
accent
#D88050
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #792A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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