#792242#792242

#792242 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.123 H 2.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#792242
RGBrgb(121, 34, 66)
HSLhsl(338, 56%, 30%)
HSVhsv(338, 72%, 47%)
CMYKcmyk(0%, 71.9%, 45.5%, 52.5%)
CIE-LABlab(28.39, 40.23, 1.55)
CIE-LCHlch(28.39, 40.26, 2.21°)
OKLaboklab(39.87% 0.1231 0.0045)
OKLCHoklch(39.87% 0.123 2.1)
XYZxyz(9.4413, 5.6035, 5.7376)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792242 #227959
analogous
#79226D #792242 #792D22
triadic
#792242 #427922 #224279
tetradic
#792242 #6D7922 #227959 #2D2279
square
#792242 #6D7922 #227959 #2D2279
split-complementary
#792242 #22792D #226D79
monochromatic
#19070E #491528 #792242 #A92F5C #CC4979

Accessibility & contrast

On white

9.90
#792242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#792242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792242
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792242#FFFFFF#000000##FFFFFF
##7922421.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#84162F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792242;
/* rgb */ color: rgb(121, 34, 66);
/* oklch */ color: oklch(39.9% 0.123 2.1);
Tailwind
colors: {
  custom: {
    50: '#a46476',
    500: '#792242',
    950: '#000000',
  },
}
SCSS
$custom: #792242;
$custom-light: #a46476;
$custom-dark: #000000;
JSON
{
  "hex": "#792242",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 337.931,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.12321,
    "h": 2.1
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#792242
secondary
#4BAC88
accent
#DFA848
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #792242

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

Preview Lab → · Contrast checker → · Palette generator →

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