#791947#791947

#791947 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.136 H 356.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#791947
RGBrgb(121, 25, 71)
HSLhsl(331, 66%, 29%)
HSVhsv(331, 79%, 47%)
CMYKcmyk(0%, 79.3%, 41.3%, 52.5%)
CIE-LABlab(27.34, 44.16, -3.33)
CIE-LCHlch(27.34, 44.29, 355.69°)
OKLaboklab(39.16% 0.1357 -0.0082)
OKLCHoklch(39.16% 0.136 356.5)
XYZxyz(9.3708, 5.2163, 6.4734)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791947 #19794B
analogous
#791977 #791947 #791B19
triadic
#791947 #477919 #194779
tetradic
#791947 #777919 #19794B #1B1979
square
#791947 #777919 #19794B #1B1979
split-complementary
#791947 #19791B #197779
monochromatic
#19050F #460F29 #791947 #AC2365 #D63783

Accessibility & contrast

On white

10.28
#791947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791947
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791947#FFFFFF#000000##FFFFFF
##7919471.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#830B2D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791947;
/* rgb */ color: rgb(121, 25, 71);
/* oklch */ color: oklch(39.2% 0.136 356.5);
Tailwind
colors: {
  custom: {
    50: '#a4607a',
    500: '#791947',
    950: '#000000',
  },
}
SCSS
$custom: #791947;
$custom-light: #a4607a;
$custom-dark: #000000;
JSON
{
  "hex": "#791947",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 331.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.13597,
    "h": 356.5
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#791947
secondary
#40AE79
accent
#E9973F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #791947

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

Preview Lab → · Contrast checker → · Palette generator →

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