#791842#791842

#791842 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 359.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#791842
RGBrgb(121, 24, 66)
HSLhsl(334, 67%, 28%)
HSVhsv(334, 80%, 47%)
CMYKcmyk(0%, 80.2%, 45.5%, 52.5%)
CIE-LABlab(27.05, 43.96, -0.39)
CIE-LCHlch(27.05, 43.96, 359.49°)
OKLaboklab(38.89% 0.1351 -0.0005)
OKLCHoklch(38.89% 0.135 359.8)
XYZxyz(9.1959, 5.1128, 5.6558)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791842 #18794F
analogous
#791872 #791842 #791E18
triadic
#791842 #427918 #184279
tetradic
#791842 #727918 #18794F #1E1879
square
#791842 #727918 #18794F #1E1879
split-complementary
#791842 #18791E #187279
monochromatic
#1A050E #460E26 #791842 #AC225E #D7357B

Accessibility & contrast

On white

10.38
#791842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#791842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791842
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791842#FFFFFF#000000##FFFFFF
##7918421.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#484740
Tritanopia (blue-blind)
#84052B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791842;
/* rgb */ color: rgb(121, 24, 66);
/* oklch */ color: oklch(38.9% 0.135 359.8);
Tailwind
colors: {
  custom: {
    50: '#a46076',
    500: '#791842',
    950: '#000000',
  },
}
SCSS
$custom: #791842;
$custom-light: #a46076;
$custom-dark: #000000;
JSON
{
  "hex": "#791842",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 334.021,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.13506,
    "h": 359.8
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#791842
secondary
#3FAE7E
accent
#EA9F3E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #791842

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

Preview Lab → · Contrast checker → · Palette generator →

#791842 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva