#791B52#791B52

#791B52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.139 H 349.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#791B52
RGBrgb(121, 27, 82)
HSLhsl(325, 64%, 29%)
HSVhsv(325, 78%, 47%)
CMYKcmyk(0%, 77.7%, 32.2%, 52.5%)
CIE-LABlab(28.00, 44.79, -9.67)
CIE-LCHlch(28.00, 45.82, 347.82°)
OKLaboklab(39.78% 0.1368 -0.0253)
OKLCHoklch(39.78% 0.139 349.5)
XYZxyz(9.8006, 5.4591, 8.5186)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B52 #1B7942
analogous
#711B79 #791B52 #791B23
triadic
#791B52 #52791B #1B5279
tetradic
#791B52 #79711B #1B7942 #1B2379
square
#791B52 #79711B #1B7942 #1B2379
split-complementary
#791B52 #23791B #1B7971
monochromatic
#190611 #471030 #791B52 #AB2674 #D33B94

Accessibility & contrast

On white

10.04
#791B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#791B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B52
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B52#FFFFFF#000000##FFFFFF
##791B521.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3853
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#821534
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791b52;
/* rgb */ color: rgb(121, 27, 82);
/* oklch */ color: oklch(39.8% 0.139 349.5);
Tailwind
colors: {
  custom: {
    50: '#a46182',
    500: '#791b52',
    950: '#000000',
  },
}
SCSS
$custom: #791b52;
$custom-light: #a46182;
$custom-dark: #000000;
JSON
{
  "hex": "#791b52",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 324.894,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.13914,
    "h": 349.5
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#791B52
secondary
#43AD6F
accent
#E78641
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791B52

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

Preview Lab → · Contrast checker → · Palette generator →

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