#791847#791847

#791847 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 356.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#791847
RGBrgb(121, 24, 71)
HSLhsl(331, 67%, 28%)
HSVhsv(331, 80%, 47%)
CMYKcmyk(0%, 80.2%, 41.3%, 52.5%)
CIE-LABlab(27.23, 44.49, -3.50)
CIE-LCHlch(27.23, 44.63, 355.50°)
OKLaboklab(39.07% 0.1368 -0.0087)
OKLCHoklch(39.07% 0.137 356.4)
XYZxyz(9.3498, 5.1743, 6.4664)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791847 #18794A
analogous
#791877 #791847 #791918
triadic
#791847 #477918 #184779
tetradic
#791847 #777918 #18794A #191879
square
#791847 #777918 #18794A #191879
split-complementary
#791847 #187919 #187779
monochromatic
#1A050F #460E29 #791847 #AC2265 #D73583

Accessibility & contrast

On white

10.32
#791847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791847
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791847#FFFFFF#000000##FFFFFF
##7918471.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#474745
Tritanopia (blue-blind)
#83092D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791847;
/* rgb */ color: rgb(121, 24, 71);
/* oklch */ color: oklch(39.1% 0.137 356.4);
Tailwind
colors: {
  custom: {
    50: '#a4607a',
    500: '#791847',
    950: '#000000',
  },
}
SCSS
$custom: #791847;
$custom-light: #a4607a;
$custom-dark: #000000;
JSON
{
  "hex": "#791847",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 330.928,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.13704,
    "h": 356.4
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#791847
secondary
#3FAE78
accent
#EA973E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #791847

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

Preview Lab → · Contrast checker → · Palette generator →

#791847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva