#791857#791857

#791857 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.145 H 346.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#791857
RGBrgb(121, 24, 87)
HSLhsl(321, 67%, 28%)
HSVhsv(321, 80%, 47%)
CMYKcmyk(0%, 80.2%, 28.1%, 52.5%)
CIE-LABlab(27.87, 46.44, -13.19)
CIE-LCHlch(27.87, 48.27, 344.15°)
OKLaboklab(39.75% 0.1411 -0.035)
OKLCHoklch(39.75% 0.145 346.1)
XYZxyz(9.9326, 5.4074, 9.5356)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791857 #18793A
analogous
#6A1879 #791857 #791826
triadic
#791857 #577918 #185779
tetradic
#791857 #796A18 #18793A #182679
square
#791857 #796A18 #18793A #182679
split-complementary
#791857 #267918 #18796A
monochromatic
#1A0512 #460E32 #791857 #AC227C #D7359E

Accessibility & contrast

On white

10.09
#791857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#791857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791857
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791857#FFFFFF#000000##FFFFFF
##7918571.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#434855
Tritanopia (blue-blind)
#821535
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791857;
/* rgb */ color: rgb(121, 24, 87);
/* oklch */ color: oklch(39.7% 0.145 346.1);
Tailwind
colors: {
  custom: {
    50: '#a36086',
    500: '#791857',
    950: '#000000',
  },
}
SCSS
$custom: #791857;
$custom-light: #a36086;
$custom-dark: #000000;
JSON
{
  "hex": "#791857",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 321.031,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.14541,
    "h": 346.1
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#791857
secondary
#3FAE66
accent
#EA7A3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791857

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

Preview Lab → · Contrast checker → · Palette generator →

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