#792A42#792A42

#792A42 is a dark, moderate pink. Relative luminance 0.061; OKLCH L 40.8% C 0.112 H 4.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#792A42
RGBrgb(121, 42, 66)
HSLhsl(342, 48%, 32%)
HSVhsv(342, 65%, 47%)
CMYKcmyk(0%, 65.3%, 45.5%, 52.5%)
CIE-LABlab(29.70, 36.65, 3.44)
CIE-LCHlch(29.70, 36.81, 5.37°)
OKLaboklab(40.85% 0.1118 0.0093)
OKLCHoklch(40.85% 0.112 4.7)
XYZxyz(9.6972, 6.1154, 5.8229)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A42 #2A7961
analogous
#792A6A #792A42 #793A2A
triadic
#792A42 #42792A #2A4279
tetradic
#792A42 #6A792A #2A7961 #3A2A79
square
#792A42 #6A792A #2A7961 #3A2A79
split-complementary
#792A42 #2A793A #2A6A79
monochromatic
#1E0A10 #4C1A29 #792A42 #A63A5B #C55879

Accessibility & contrast

On white

9.45
#792A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#792A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A42
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A42#FFFFFF#000000##FFFFFF
##792A421.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#832033
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792a42;
/* rgb */ color: rgb(121, 42, 66);
/* oklch */ color: oklch(40.8% 0.112 4.7);
Tailwind
colors: {
  custom: {
    50: '#a46876',
    500: '#792a42',
    950: '#000000',
  },
}
SCSS
$custom: #792a42;
$custom-light: #a46876;
$custom-dark: #000000;
JSON
{
  "hex": "#792a42",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 341.772,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.11214,
    "h": 4.7
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#792A42
secondary
#54AB90
accent
#D8AF50
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #792A42

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

Preview Lab → · Contrast checker → · Palette generator →

#792A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva