#791938#791938

#791938 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.131 H 6.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#791938
RGBrgb(121, 25, 56)
HSLhsl(341, 66%, 29%)
HSVhsv(341, 79%, 47%)
CMYKcmyk(0%, 79.3%, 53.7%, 52.5%)
CIE-LABlab(26.87, 42.67, 6.10)
CIE-LCHlch(26.87, 43.11, 8.14°)
OKLaboklab(38.65% 0.1302 0.0158)
OKLCHoklch(38.65% 0.131 6.9)
XYZxyz(8.9474, 5.0470, 4.2436)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791938 #19795A
analogous
#791968 #791938 #792A19
triadic
#791938 #387919 #193879
tetradic
#791938 #687919 #19795A #2A1979
square
#791938 #687919 #19795A #2A1979
split-complementary
#791938 #19792A #196879
monochromatic
#19050C #460F21 #791938 #AC234F #D6376A

Accessibility & contrast

On white

10.45
#791938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791938
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791938#FFFFFF#000000##FFFFFF
##7919381.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4B4636
Tritanopia (blue-blind)
#840026
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791938;
/* rgb */ color: rgb(121, 25, 56);
/* oklch */ color: oklch(38.7% 0.131 6.9);
Tailwind
colors: {
  custom: {
    50: '#a5606e',
    500: '#791938',
    950: '#000000',
  },
}
SCSS
$custom: #791938;
$custom-light: #a5606e;
$custom-dark: #000000;
JSON
{
  "hex": "#791938",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 340.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.13113,
    "h": 6.9
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#791938
secondary
#40AE8A
accent
#E9B23F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #791938

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

Preview Lab → · Contrast checker → · Palette generator →

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