#791840#791840

#791840 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.134 H 1.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#791840
RGBrgb(121, 24, 64)
HSLhsl(335, 67%, 28%)
HSVhsv(335, 80%, 47%)
CMYKcmyk(0%, 80.2%, 47.1%, 52.5%)
CIE-LABlab(26.99, 43.76, 0.86)
CIE-LCHlch(26.99, 43.77, 1.13°)
OKLaboklab(38.82% 0.1343 0.0027)
OKLCHoklch(38.82% 0.134 1.2)
XYZxyz(9.1379, 5.0896, 5.3507)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791840 #187951
analogous
#791870 #791840 #792018
triadic
#791840 #407918 #184079
tetradic
#791840 #707918 #187951 #201879
square
#791840 #707918 #187951 #201879
split-complementary
#791840 #187920 #187079
monochromatic
#1A050E #460E25 #791840 #AC225B #D73577

Accessibility & contrast

On white

10.41
#791840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791840
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791840#FFFFFF#000000##FFFFFF
##7918401.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#84042A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791840;
/* rgb */ color: rgb(121, 24, 64);
/* oklch */ color: oklch(38.8% 0.134 1.2);
Tailwind
colors: {
  custom: {
    50: '#a56074',
    500: '#791840',
    950: '#000000',
  },
}
SCSS
$custom: #791840;
$custom-light: #a56074;
$custom-dark: #000000;
JSON
{
  "hex": "#791840",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 335.258,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.13437,
    "h": 1.2
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#791840
secondary
#3FAE80
accent
#EAA33E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #791840

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

Preview Lab → · Contrast checker → · Palette generator →

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