#791848#791848

#791848 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 355.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#791848
RGBrgb(121, 24, 72)
HSLhsl(330, 67%, 28%)
HSVhsv(330, 80%, 47%)
CMYKcmyk(0%, 80.2%, 40.5%, 52.5%)
CIE-LABlab(27.26, 44.60, -4.12)
CIE-LCHlch(27.26, 44.79, 354.72°)
OKLaboklab(39.11% 0.1371 -0.0103)
OKLCHoklch(39.11% 0.137 355.7)
XYZxyz(9.3821, 5.1873, 6.6368)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791848 #187949
analogous
#791878 #791848 #791818
triadic
#791848 #487918 #184879
tetradic
#791848 #787918 #187949 #181879
square
#791848 #787918 #187949 #181879
split-complementary
#791848 #187918 #187879
monochromatic
#1A050F #460E2A #791848 #AC2266 #D73585

Accessibility & contrast

On white

10.31
#791848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791848
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791848#FFFFFF#000000##FFFFFF
##7918481.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#474746
Tritanopia (blue-blind)
#830A2E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791848;
/* rgb */ color: rgb(121, 24, 72);
/* oklch */ color: oklch(39.1% 0.137 355.7);
Tailwind
colors: {
  custom: {
    50: '#a4607a',
    500: '#791848',
    950: '#000000',
  },
}
SCSS
$custom: #791848;
$custom-light: #a4607a;
$custom-dark: #000000;
JSON
{
  "hex": "#791848",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 330.309,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.13749,
    "h": 355.7
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#791848
secondary
#3FAE77
accent
#EA953E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #791848

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

Preview Lab → · Contrast checker → · Palette generator →

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