#791A42#791A42

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

Color values

HEX#791A42
RGBrgb(121, 26, 66)
HSLhsl(335, 65%, 29%)
HSVhsv(335, 79%, 47%)
CMYKcmyk(0%, 78.5%, 45.5%, 52.5%)
CIE-LABlab(27.29, 43.29, -0.04)
CIE-LCHlch(27.29, 43.29, 359.94°)
OKLaboklab(39.06% 0.1329 0.0004)
OKLCHoklch(39.06% 0.133 0.2)
XYZxyz(9.2386, 5.1983, 5.6701)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A42 #1A7951
analogous
#791A72 #791A42 #79221A
triadic
#791A42 #42791A #1A4279
tetradic
#791A42 #72791A #1A7951 #221A79
square
#791A42 #72791A #1A7951 #221A79
split-complementary
#791A42 #1A7922 #1A7279
monochromatic
#19050E #470F27 #791A42 #AB255D #D4397A

Accessibility & contrast

On white

10.30
#791A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A42
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A42#FFFFFF#000000##FFFFFF
##791A421.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#84092B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791a42;
/* rgb */ color: rgb(121, 26, 66);
/* oklch */ color: oklch(39.1% 0.133 0.2);
Tailwind
colors: {
  custom: {
    50: '#a46076',
    500: '#791a42',
    950: '#000000',
  },
}
SCSS
$custom: #791a42;
$custom-light: #a46076;
$custom-dark: #000000;
JSON
{
  "hex": "#791a42",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 334.737,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39062,
    "c": 0.1329,
    "h": 0.2
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#791A42
secondary
#41AD80
accent
#E8A140
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #791A42

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

Preview Lab → · Contrast checker → · Palette generator →

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