#791B3F#791B3F

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

Color values

HEX#791B3F
RGBrgb(121, 27, 63)
HSLhsl(337, 64%, 29%)
HSVhsv(337, 78%, 47%)
CMYKcmyk(0%, 77.7%, 47.9%, 52.5%)
CIE-LABlab(27.32, 42.63, 2.02)
CIE-LCHlch(27.32, 42.68, 2.71°)
OKLaboklab(39.05% 0.1307 0.0056)
OKLCHoklch(39.05% 0.131 2.5)
XYZxyz(9.1750, 5.2089, 5.2239)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B3F #1B7955
analogous
#791B6E #791B3F #79261B
triadic
#791B3F #3F791B #1B3F79
tetradic
#791B3F #6E791B #1B7955 #261B79
square
#791B3F #6E791B #1B7955 #261B79
split-complementary
#791B3F #1B7926 #1B6E79
monochromatic
#19060D #471025 #791B3F #AB2659 #D33B75

Accessibility & contrast

On white

10.29
#791B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B3F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B3F#FFFFFF#000000##FFFFFF
##791B3F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#84082A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791b3f;
/* rgb */ color: rgb(121, 27, 63);
/* oklch */ color: oklch(39.1% 0.131 2.5);
Tailwind
colors: {
  custom: {
    50: '#a46173',
    500: '#791b3f',
    950: '#000000',
  },
}
SCSS
$custom: #791b3f;
$custom-light: #a46173;
$custom-dark: #000000;
JSON
{
  "hex": "#791b3f",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 337.021,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.13079,
    "h": 2.5
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#791B3F
secondary
#43AD84
accent
#E7A741
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #791B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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