#791731#791731

#791731 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.3% C 0.132 H 11.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#791731
RGBrgb(121, 23, 49)
HSLhsl(344, 68%, 28%)
HSVhsv(344, 81%, 47%)
CMYKcmyk(0%, 81%, 59.5%, 52.5%)
CIE-LABlab(26.45, 42.76, 10.27)
CIE-LCHlch(26.45, 43.98, 13.50°)
OKLaboklab(38.28% 0.1294 0.0257)
OKLCHoklch(38.28% 0.132 11.2)
XYZxyz(8.7468, 4.9008, 3.3905)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791731 #17795F
analogous
#791762 #791731 #792E17
triadic
#791731 #317917 #173179
tetradic
#791731 #627917 #17795F #2E1779
square
#791731 #627917 #17795F #2E1779
split-complementary
#791731 #17792E #176279
monochromatic
#1A050A #460D1C #791731 #AC2146 #D8325E

Accessibility & contrast

On white

10.61
#791731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#791731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791731
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791731#FFFFFF#000000##FFFFFF
##7917311.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791731;
/* rgb */ color: rgb(121, 23, 49);
/* oklch */ color: oklch(38.3% 0.132 11.2);
Tailwind
colors: {
  custom: {
    50: '#a65f68',
    500: '#791731',
    950: '#000000',
  },
}
SCSS
$custom: #791731;
$custom-light: #a65f68;
$custom-dark: #000000;
JSON
{
  "hex": "#791731",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 344.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38284,
    "c": 0.13194,
    "h": 11.2
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#791731
secondary
#3EAE90
accent
#EBBD3D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #791731

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

Preview Lab → · Contrast checker → · Palette generator →

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