#791C38#791C38

#791C38 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.128 H 7.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#791C38
RGBrgb(121, 28, 56)
HSLhsl(342, 62%, 29%)
HSVhsv(342, 77%, 47%)
CMYKcmyk(0%, 76.9%, 53.7%, 52.5%)
CIE-LABlab(27.25, 41.61, 6.64)
CIE-LCHlch(27.25, 42.14, 9.06°)
OKLaboklab(38.93% 0.1267 0.0171)
OKLCHoklch(38.93% 0.128 7.7)
XYZxyz(9.0150, 5.1822, 4.2662)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C38 #1C795D
analogous
#791C67 #791C38 #792E1C
triadic
#791C38 #38791C #1C3879
tetradic
#791C38 #67791C #1C795D #2E1C79
square
#791C38 #67791C #1C795D #2E1C79
split-complementary
#791C38 #1C792E #1C6779
monochromatic
#19060C #471021 #791C38 #AB284F #D23D6A

Accessibility & contrast

On white

10.31
#791C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##791C38#FFFFFF#000000##FFFFFF
##791C381.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)
#333439
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#840528
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791c38;
/* rgb */ color: rgb(121, 28, 56);
/* oklch */ color: oklch(38.9% 0.128 7.7);
Tailwind
colors: {
  custom: {
    50: '#a5616e',
    500: '#791c38',
    950: '#000000',
  },
}
SCSS
$custom: #791c38;
$custom-light: #a5616e;
$custom-dark: #000000;
JSON
{
  "hex": "#791c38",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 341.935,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.12789,
    "h": 7.7
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#791C38
secondary
#44AD8D
accent
#E5B442
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #791C38

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

Preview Lab → · Contrast checker → · Palette generator →

#791C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva