#791F40#791F40

#791F40 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.126 H 2.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#791F40
RGBrgb(121, 31, 64)
HSLhsl(338, 59%, 30%)
HSVhsv(338, 74%, 47%)
CMYKcmyk(0%, 74.4%, 47.1%, 52.5%)
CIE-LABlab(27.89, 41.23, 2.17)
CIE-LCHlch(27.89, 41.29, 3.01°)
OKLaboklab(39.48% 0.1262 0.006)
OKLCHoklch(39.48% 0.126 2.7)
XYZxyz(9.3013, 5.4163, 5.4051)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F40 #1F7958
analogous
#791F6D #791F40 #792B1F
triadic
#791F40 #40791F #1F4079
tetradic
#791F40 #6D791F #1F7958 #2B1F79
square
#791F40 #6D791F #1F7958 #2B1F79
split-complementary
#791F40 #1F792B #1F6D79
monochromatic
#18060D #481326 #791F40 #AA2B5A #CF4377

Accessibility & contrast

On white

10.08
#791F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#791F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F40
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F40#FFFFFF#000000##FFFFFF
##791F401.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#84102D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791f40;
/* rgb */ color: rgb(121, 31, 64);
/* oklch */ color: oklch(39.5% 0.126 2.7);
Tailwind
colors: {
  custom: {
    50: '#a46374',
    500: '#791f40',
    950: '#000000',
  },
}
SCSS
$custom: #791f40;
$custom-light: #a46374;
$custom-dark: #000000;
JSON
{
  "hex": "#791f40",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 338,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.12638,
    "h": 2.7
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#791F40
secondary
#47AC87
accent
#E2A945
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #791F40

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

Preview Lab → · Contrast checker → · Palette generator →

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