#791B40#791B40

#791B40 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.131 H 1.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#791B40
RGBrgb(121, 27, 64)
HSLhsl(336, 64%, 29%)
HSVhsv(336, 78%, 47%)
CMYKcmyk(0%, 77.7%, 47.1%, 52.5%)
CIE-LABlab(27.35, 42.73, 1.39)
CIE-LCHlch(27.35, 42.75, 1.86°)
OKLaboklab(39.09% 0.131 0.0041)
OKLCHoklch(39.09% 0.131 1.8)
XYZxyz(9.2032, 5.2202, 5.3725)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B40 #1B7954
analogous
#791B6F #791B40 #79251B
triadic
#791B40 #40791B #1B4079
tetradic
#791B40 #6F791B #1B7954 #251B79
square
#791B40 #6F791B #1B7954 #251B79
split-complementary
#791B40 #1B7925 #1B6F79
monochromatic
#19060D #471026 #791B40 #AB265A #D33B77

Accessibility & contrast

On white

10.27
#791B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B40
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B40#FFFFFF#000000##FFFFFF
##791B401.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#84092B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791b40;
/* rgb */ color: rgb(121, 27, 64);
/* oklch */ color: oklch(39.1% 0.131 1.8);
Tailwind
colors: {
  custom: {
    50: '#a46174',
    500: '#791b40',
    950: '#000000',
  },
}
SCSS
$custom: #791b40;
$custom-light: #a46174;
$custom-dark: #000000;
JSON
{
  "hex": "#791b40",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 336.383,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.1311,
    "h": 1.8
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#791B40
secondary
#43AD83
accent
#E7A541
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #791B40

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

Preview Lab → · Contrast checker → · Palette generator →

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