#791B4A#791B4A

#791B4A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.135 H 354.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#791B4A
RGBrgb(121, 27, 74)
HSLhsl(330, 64%, 29%)
HSVhsv(330, 78%, 47%)
CMYKcmyk(0%, 77.7%, 38.8%, 52.5%)
CIE-LABlab(27.69, 43.82, -4.82)
CIE-LCHlch(27.69, 44.08, 353.73°)
OKLaboklab(39.45% 0.1345 -0.0121)
OKLCHoklch(39.45% 0.135 354.8)
XYZxyz(9.5137, 5.3444, 7.0078)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B4A #1B794A
analogous
#791B79 #791B4A #791B1B
triadic
#791B4A #4A791B #1B4A79
tetradic
#791B4A #79791B #1B794A #1B1B79
square
#791B4A #79791B #1B794A #1B1B79
split-complementary
#791B4A #1B791B #1B7979
monochromatic
#19060F #47102B #791B4A #AB2669 #D33B87

Accessibility & contrast

On white

10.15
#791B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#791B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B4A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B4A#FFFFFF#000000##FFFFFF
##791B4A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#831030
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791b4a;
/* rgb */ color: rgb(121, 27, 74);
/* oklch */ color: oklch(39.4% 0.135 354.8);
Tailwind
colors: {
  custom: {
    50: '#a4617c',
    500: '#791b4a',
    950: '#000000',
  },
}
SCSS
$custom: #791b4a;
$custom-light: #a4617c;
$custom-dark: #000000;
JSON
{
  "hex": "#791b4a",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 330,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.13505,
    "h": 354.8
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#791B4A
secondary
#43AD78
accent
#E79441
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #791B4A

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

Preview Lab → · Contrast checker → · Palette generator →

#791B4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva