#791548#791548

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

Color values

HEX#791548
RGBrgb(121, 21, 72)
HSLhsl(329, 70%, 28%)
HSVhsv(329, 83%, 47%)
CMYKcmyk(0%, 82.6%, 40.5%, 52.5%)
CIE-LABlab(26.93, 45.53, -4.61)
CIE-LCHlch(26.93, 45.77, 354.22°)
OKLaboklab(38.87% 0.1401 -0.0116)
OKLCHoklch(38.87% 0.141 355.3)
XYZxyz(9.3237, 5.0704, 6.6173)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791548 #157946
analogous
#781579 #791548 #791516
triadic
#791548 #487915 #154879
tetradic
#791548 #797815 #157946 #151679
square
#791548 #797815 #157946 #151679
split-complementary
#791548 #167915 #157978
monochromatic
#1A0510 #450C29 #791548 #AD1E67 #DB2E86

Accessibility & contrast

On white

10.43
#791548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791548
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791548#FFFFFF#000000##FFFFFF
##7915481.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3449
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#83052D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791548;
/* rgb */ color: rgb(121, 21, 72);
/* oklch */ color: oklch(38.9% 0.141 355.3);
Tailwind
colors: {
  custom: {
    50: '#a45f7a',
    500: '#791548',
    950: '#000000',
  },
}
SCSS
$custom: #791548;
$custom-light: #a45f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#791548",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 329.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.14055,
    "h": 355.3
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#791548
secondary
#3BAF74
accent
#ED923B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #791548

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

Preview Lab → · Contrast checker → · Palette generator →

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