#792B5F#792B5F

#792B5F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.125 H 343.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#792B5F
RGBrgb(121, 43, 95)
HSLhsl(320, 48%, 32%)
HSVhsv(320, 64%, 47%)
CMYKcmyk(0%, 64.5%, 21.5%, 52.5%)
CIE-LABlab(30.93, 40.02, -13.72)
CIE-LCHlch(30.93, 42.31, 341.08°)
OKLaboklab(42.1% 0.1198 -0.0366)
OKLCHoklch(42.1% 0.125 343)
XYZxyz(10.8149, 6.6199, 11.5324)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B5F #2B7945
analogous
#6C2B79 #792B5F #792B38
triadic
#792B5F #5F792B #2B5F79
tetradic
#792B5F #796C2B #2B7945 #2B3879
square
#792B5F #796C2B #2B7945 #2B3879
split-complementary
#792B5F #38792B #2B796C
monochromatic
#1F0B18 #4C1B3C #792B5F #A63B82 #C45AA1

Accessibility & contrast

On white

9.04
#792B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#792B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B5F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B5F#FFFFFF#000000##FFFFFF
##792B5F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314161
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#812B41
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792b5f;
/* rgb */ color: rgb(121, 43, 95);
/* oklch */ color: oklch(42.1% 0.125 343.0);
Tailwind
colors: {
  custom: {
    50: '#a26a8c',
    500: '#792b5f',
    950: '#000000',
  },
}
SCSS
$custom: #792b5f;
$custom-light: #a26a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#792b5f",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 320,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.12522,
    "h": 343
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#792B5F
secondary
#56AA72
accent
#D77D51
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #792B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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