#791B57#791B57

#791B57 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.142 H 346.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#791B57
RGBrgb(121, 27, 87)
HSLhsl(322, 64%, 29%)
HSVhsv(322, 78%, 47%)
CMYKcmyk(0%, 77.7%, 28.1%, 52.5%)
CIE-LABlab(28.22, 45.44, -12.65)
CIE-LCHlch(28.22, 47.17, 344.44°)
OKLaboklab(40% 0.138 -0.0335)
OKLCHoklch(40% 0.142 346.4)
XYZxyz(9.9978, 5.5380, 9.5574)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B57 #1B793D
analogous
#6C1B79 #791B57 #791B28
triadic
#791B57 #57791B #1B5779
tetradic
#791B57 #796C1B #1B793D #1B2879
square
#791B57 #796C1B #1B793D #1B2879
split-complementary
#791B57 #28791B #1B796C
monochromatic
#190612 #471033 #791B57 #AB267B #D33B9C

Accessibility & contrast

On white

9.96
#791B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#791B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B57
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B57#FFFFFF#000000##FFFFFF
##791B571.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#821836
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791b57;
/* rgb */ color: rgb(121, 27, 87);
/* oklch */ color: oklch(40.0% 0.142 346.4);
Tailwind
colors: {
  custom: {
    50: '#a36286',
    500: '#791b57',
    950: '#000000',
  },
}
SCSS
$custom: #791b57;
$custom-light: #a36286;
$custom-dark: #000000;
JSON
{
  "hex": "#791b57",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 321.702,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.14205,
    "h": 346.4
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#791B57
secondary
#43AD69
accent
#E77D41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791B57

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

Preview Lab → · Contrast checker → · Palette generator →

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