#792147#792147

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

Color values

HEX#792147
RGBrgb(121, 33, 71)
HSLhsl(334, 57%, 30%)
HSVhsv(334, 73%, 47%)
CMYKcmyk(0%, 72.7%, 41.3%, 52.5%)
CIE-LABlab(28.40, 41.19, -1.76)
CIE-LCHlch(28.40, 41.23, 357.55°)
OKLaboklab(39.93% 0.1263 -0.0041)
OKLCHoklch(39.93% 0.126 358.1)
XYZxyz(9.5670, 5.6088, 6.5388)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792147 #217953
analogous
#792173 #792147 #792721
triadic
#792147 #477921 #214779
tetradic
#792147 #737921 #217953 #272179
square
#792147 #737921 #217953 #272179
split-complementary
#792147 #217927 #217379
monochromatic
#19070F #49142B #792147 #A92E63 #CD4781

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792147#FFFFFF#000000##FFFFFF
##7921471.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)
#323848
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#831731
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792147;
/* rgb */ color: rgb(121, 33, 71);
/* oklch */ color: oklch(39.9% 0.126 358.1);
Tailwind
colors: {
  custom: {
    50: '#a4647a',
    500: '#792147',
    950: '#000000',
  },
}
SCSS
$custom: #792147;
$custom-light: #a4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#792147",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 334.091,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.12634,
    "h": 358.1
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#792147
secondary
#4AAC82
accent
#E09E47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #792147

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

Preview Lab → · Contrast checker → · Palette generator →

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