#791B5D#791B5D

#791B5D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.146 H 342.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#791B5D
RGBrgb(121, 27, 93)
HSLhsl(318, 64%, 29%)
HSVhsv(318, 78%, 47%)
CMYKcmyk(0%, 77.7%, 23.1%, 52.5%)
CIE-LABlab(28.49, 46.27, -16.17)
CIE-LCHlch(28.49, 49.01, 340.73°)
OKLaboklab(40.28% 0.1393 -0.0433)
OKLCHoklch(40.28% 0.146 342.7)
XYZxyz(10.2532, 5.6402, 10.9025)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B5D #1B7937
analogous
#661B79 #791B5D #791B2E
triadic
#791B5D #5D791B #1B5D79
tetradic
#791B5D #79661B #1B7937 #1B2E79
square
#791B5D #79661B #1B7937 #1B2E79
split-complementary
#791B5D #2E791B #1B7966
monochromatic
#190613 #471037 #791B5D #AB2683 #D33BA6

Accessibility & contrast

On white

9.87
#791B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#791B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B5D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B5D#FFFFFF#000000##FFFFFF
##791B5D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#811C3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791b5d;
/* rgb */ color: rgb(121, 27, 93);
/* oklch */ color: oklch(40.3% 0.146 342.7);
Tailwind
colors: {
  custom: {
    50: '#a3628b',
    500: '#791b5d',
    950: '#000000',
  },
}
SCSS
$custom: #791b5d;
$custom-light: #a3628b;
$custom-dark: #000000;
JSON
{
  "hex": "#791b5d",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 317.872,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.14586,
    "h": 342.7
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#791B5D
secondary
#43AD62
accent
#E77241
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #791B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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