#791831#791831

#791831 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.131 H 11.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#791831
RGBrgb(121, 24, 49)
HSLhsl(345, 67%, 28%)
HSVhsv(345, 80%, 47%)
CMYKcmyk(0%, 80.2%, 59.5%, 52.5%)
CIE-LABlab(26.57, 42.44, 10.43)
CIE-LCHlch(26.57, 43.70, 13.81°)
OKLaboklab(38.37% 0.1284 0.0261)
OKLCHoklch(38.37% 0.131 11.5)
XYZxyz(8.7670, 4.9412, 3.3972)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791831 #187960
analogous
#791861 #791831 #792F18
triadic
#791831 #317918 #183179
tetradic
#791831 #617918 #187960 #2F1879
square
#791831 #617918 #187960 #2F1879
split-complementary
#791831 #18792F #186179
monochromatic
#1A050A #460E1C #791831 #AC2246 #D7355E

Accessibility & contrast

On white

10.56
#791831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#791831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791831
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791831#FFFFFF#000000##FFFFFF
##7918311.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#850023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791831;
/* rgb */ color: rgb(121, 24, 49);
/* oklch */ color: oklch(38.4% 0.131 11.5);
Tailwind
colors: {
  custom: {
    50: '#a65f68',
    500: '#791831',
    950: '#000000',
  },
}
SCSS
$custom: #791831;
$custom-light: #a65f68;
$custom-dark: #000000;
JSON
{
  "hex": "#791831",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 344.536,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.13098,
    "h": 11.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#791831
secondary
#3FAE91
accent
#EABE3E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #791831

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

Preview Lab → · Contrast checker → · Palette generator →

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