#791E40#791E40

#791E40 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.128 H 2.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#791E40
RGBrgb(121, 30, 64)
HSLhsl(338, 60%, 30%)
HSVhsv(338, 75%, 47%)
CMYKcmyk(0%, 75.2%, 47.1%, 52.5%)
CIE-LABlab(27.75, 41.62, 1.97)
CIE-LCHlch(27.75, 41.67, 2.70°)
OKLaboklab(39.38% 0.1275 0.0055)
OKLCHoklch(39.38% 0.128 2.5)
XYZxyz(9.2756, 5.3649, 5.3966)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E40 #1E7957
analogous
#791E6E #791E40 #79291E
triadic
#791E40 #40791E #1E4079
tetradic
#791E40 #6E791E #1E7957 #291E79
square
#791E40 #6E791E #1E7957 #291E79
split-complementary
#791E40 #1E7929 #1E6E79
monochromatic
#19060D #481226 #791E40 #AA2A5A #D04177

Accessibility & contrast

On white

10.13
#791E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#791E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E40
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E40#FFFFFF#000000##FFFFFF
##791E401.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#840F2C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791e40;
/* rgb */ color: rgb(121, 30, 64);
/* oklch */ color: oklch(39.4% 0.128 2.5);
Tailwind
colors: {
  custom: {
    50: '#a46274',
    500: '#791e40',
    950: '#000000',
  },
}
SCSS
$custom: #791e40;
$custom-light: #a46274;
$custom-dark: #000000;
JSON
{
  "hex": "#791e40",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 337.582,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.1276,
    "h": 2.5
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#791E40
secondary
#46AD86
accent
#E3A844
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #791E40

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

Preview Lab → · Contrast checker → · Palette generator →

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