#792247#792247

#792247 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.125 H 358.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#792247
RGBrgb(121, 34, 71)
HSLhsl(334, 56%, 30%)
HSVhsv(334, 72%, 47%)
CMYKcmyk(0%, 71.9%, 41.3%, 52.5%)
CIE-LABlab(28.55, 40.78, -1.55)
CIE-LCHlch(28.55, 40.81, 357.83°)
OKLaboklab(40.04% 0.125 -0.0035)
OKLCHoklch(40.04% 0.125 358.4)
XYZxyz(9.5952, 5.6651, 6.5482)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792247 #227954
analogous
#792272 #792247 #792922
triadic
#792247 #477922 #224779
tetradic
#792247 #727922 #227954 #292279
square
#792247 #727922 #227954 #292279
split-complementary
#792247 #227929 #227279
monochromatic
#19070F #49152B #792247 #A92F63 #CC4981

Accessibility & contrast

On white

9.85
#792247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#792247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792247
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792247#FFFFFF#000000##FFFFFF
##7922471.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#831831
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792247;
/* rgb */ color: rgb(121, 34, 71);
/* oklch */ color: oklch(40.0% 0.125 358.4);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#792247',
    950: '#000000',
  },
}
SCSS
$custom: #792247;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#792247",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 334.483,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.12501,
    "h": 358.4
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#792247
secondary
#4BAC83
accent
#DF9F48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #792247

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

Preview Lab → · Contrast checker → · Palette generator →

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