#791B4E#791B4E

#791B4E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 352.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#791B4E
RGBrgb(121, 27, 78)
HSLhsl(327, 64%, 29%)
HSVhsv(327, 78%, 47%)
CMYKcmyk(0%, 77.7%, 35.5%, 52.5%)
CIE-LABlab(27.85, 44.29, -7.25)
CIE-LCHlch(27.85, 44.88, 350.70°)
OKLaboklab(39.61% 0.1357 -0.0187)
OKLCHoklch(39.61% 0.137 352.2)
XYZxyz(9.6528, 5.4000, 7.7402)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B4E #1B7946
analogous
#751B79 #791B4E #791B1F
triadic
#791B4E #4E791B #1B4E79
tetradic
#791B4E #79751B #1B7946 #1B1F79
square
#791B4E #79751B #1B7946 #1B1F79
split-complementary
#791B4E #1F791B #1B7975
monochromatic
#190610 #47102E #791B4E #AB266E #D33B8E

Accessibility & contrast

On white

10.10
#791B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B4E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B4E#FFFFFF#000000##FFFFFF
##791B4E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#831332
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791b4e;
/* rgb */ color: rgb(121, 27, 78);
/* oklch */ color: oklch(39.6% 0.137 352.2);
Tailwind
colors: {
  custom: {
    50: '#a4617f',
    500: '#791b4e',
    950: '#000000',
  },
}
SCSS
$custom: #791b4e;
$custom-light: #a4617f;
$custom-dark: #000000;
JSON
{
  "hex": "#791b4e",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 327.447,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13699,
    "h": 352.2
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#791B4E
secondary
#43AD73
accent
#E78D41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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