#791948#791948

#791948 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.136 H 355.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#791948
RGBrgb(121, 25, 72)
HSLhsl(331, 66%, 29%)
HSVhsv(331, 79%, 47%)
CMYKcmyk(0%, 79.3%, 40.5%, 52.5%)
CIE-LABlab(27.38, 44.27, -3.95)
CIE-LCHlch(27.38, 44.45, 354.91°)
OKLaboklab(39.19% 0.1361 -0.0098)
OKLCHoklch(39.19% 0.136 355.9)
XYZxyz(9.4031, 5.2293, 6.6438)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791948 #19794A
analogous
#791978 #791948 #791A19
triadic
#791948 #487919 #194879
tetradic
#791948 #787919 #19794A #1A1979
square
#791948 #787919 #19794A #1A1979
split-complementary
#791948 #19791A #197879
monochromatic
#19050F #460F2A #791948 #AC2366 #D63785

Accessibility & contrast

On white

10.27
#791948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#791948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791948
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791948#FFFFFF#000000##FFFFFF
##7919481.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#474746
Tritanopia (blue-blind)
#830C2E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791948;
/* rgb */ color: rgb(121, 25, 72);
/* oklch */ color: oklch(39.2% 0.136 355.9);
Tailwind
colors: {
  custom: {
    50: '#a4607a',
    500: '#791948',
    950: '#000000',
  },
}
SCSS
$custom: #791948;
$custom-light: #a4607a;
$custom-dark: #000000;
JSON
{
  "hex": "#791948",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 330.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.13641,
    "h": 355.9
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#791948
secondary
#40AE78
accent
#E9963F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #791948

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

Preview Lab → · Contrast checker → · Palette generator →

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