#791B38#791B38

#791B38 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.129 H 7.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#791B38
RGBrgb(121, 27, 56)
HSLhsl(341, 64%, 29%)
HSVhsv(341, 78%, 47%)
CMYKcmyk(0%, 77.7%, 53.7%, 52.5%)
CIE-LABlab(27.12, 41.97, 6.45)
CIE-LCHlch(27.12, 42.47, 8.74°)
OKLaboklab(38.83% 0.1279 0.0167)
OKLCHoklch(38.83% 0.129 7.4)
XYZxyz(8.9917, 5.1356, 4.2584)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B38 #1B795C
analogous
#791B67 #791B38 #792D1B
triadic
#791B38 #38791B #1B3879
tetradic
#791B38 #67791B #1B795C #2D1B79
square
#791B38 #67791B #1B795C #2D1B79
split-complementary
#791B38 #1B792D #1B6779
monochromatic
#19060C #471021 #791B38 #AB264F #D33B6A

Accessibility & contrast

On white

10.36
#791B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B38
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B38#FFFFFF#000000##FFFFFF
##791B381.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#840327
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791b38;
/* rgb */ color: rgb(121, 27, 56);
/* oklch */ color: oklch(38.8% 0.129 7.4);
Tailwind
colors: {
  custom: {
    50: '#a5616e',
    500: '#791b38',
    950: '#000000',
  },
}
SCSS
$custom: #791b38;
$custom-light: #a5616e;
$custom-dark: #000000;
JSON
{
  "hex": "#791b38",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 341.489,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.12899,
    "h": 7.4
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#791B38
secondary
#43AD8C
accent
#E7B441
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #791B38

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

Preview Lab → · Contrast checker → · Palette generator →

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