#791F4F#791F4F

#791F4F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.133 H 352.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#791F4F
RGBrgb(121, 31, 79)
HSLhsl(328, 59%, 30%)
HSVhsv(328, 74%, 47%)
CMYKcmyk(0%, 74.4%, 34.7%, 52.5%)
CIE-LABlab(28.41, 42.94, -7.07)
CIE-LCHlch(28.41, 43.52, 350.65°)
OKLaboklab(40.03% 0.1314 -0.0182)
OKLCHoklch(40.03% 0.133 352.1)
XYZxyz(9.7870, 5.6106, 7.9632)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F4F #1F7949
analogous
#761F79 #791F4F #791F22
triadic
#791F4F #4F791F #1F4F79
tetradic
#791F4F #79761F #1F7949 #1F2279
square
#791F4F #79761F #1F7949 #1F2279
split-complementary
#791F4F #22791F #1F7976
monochromatic
#180610 #48132F #791F4F #AA2B6F #CF438E

Accessibility & contrast

On white

9.90
#791F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#791F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F4F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F4F#FFFFFF#000000##FFFFFF
##791F4F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3950
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#821834
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791f4f;
/* rgb */ color: rgb(121, 31, 79);
/* oklch */ color: oklch(40.0% 0.133 352.1);
Tailwind
colors: {
  custom: {
    50: '#a36380',
    500: '#791f4f',
    950: '#000000',
  },
}
SCSS
$custom: #791f4f;
$custom-light: #a36380;
$custom-dark: #000000;
JSON
{
  "hex": "#791f4f",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 328,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.13263,
    "h": 352.1
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#791F4F
secondary
#47AC77
accent
#E28F45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #791F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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