#791838#791838

#791838 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.132 H 6.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#791838
RGBrgb(121, 24, 56)
HSLhsl(340, 67%, 28%)
HSVhsv(340, 80%, 47%)
CMYKcmyk(0%, 80.2%, 53.7%, 52.5%)
CIE-LABlab(26.75, 43.01, 5.93)
CIE-LCHlch(26.75, 43.42, 7.85°)
OKLaboklab(38.56% 0.1313 0.0154)
OKLCHoklch(38.56% 0.132 6.7)
XYZxyz(8.9264, 5.0050, 4.2366)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791838 #187959
analogous
#791868 #791838 #792818
triadic
#791838 #387918 #183879
tetradic
#791838 #687918 #187959 #281879
square
#791838 #687918 #187959 #281879
split-complementary
#791838 #187928 #186879
monochromatic
#1A050C #460E20 #791838 #AC2250 #D7356A

Accessibility & contrast

On white

10.50
#791838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791838
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791838#FFFFFF#000000##FFFFFF
##7918381.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#840026
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791838;
/* rgb */ color: rgb(121, 24, 56);
/* oklch */ color: oklch(38.6% 0.132 6.7);
Tailwind
colors: {
  custom: {
    50: '#a55f6e',
    500: '#791838',
    950: '#000000',
  },
}
SCSS
$custom: #791838;
$custom-light: #a55f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#791838",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 340.206,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.13215,
    "h": 6.7
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#791838
secondary
#3FAE89
accent
#EAB13E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #791838

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

Preview Lab → · Contrast checker → · Palette generator →

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