#792257#792257

#792257 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 347.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#792257
RGBrgb(121, 34, 87)
HSLhsl(323, 56%, 30%)
HSVhsv(323, 72%, 47%)
CMYKcmyk(0%, 71.9%, 28.1%, 52.5%)
CIE-LABlab(29.15, 42.80, -11.22)
CIE-LCHlch(29.15, 44.25, 345.31°)
OKLaboklab(40.68% 0.1299 -0.0296)
OKLCHoklch(40.68% 0.133 347.2)
XYZxyz(10.1779, 5.8982, 9.6174)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792257 #227944
analogous
#6F2279 #792257 #79222C
triadic
#792257 #577922 #225779
tetradic
#792257 #796F22 #227944 #222C79
square
#792257 #796F22 #227944 #222C79
split-complementary
#792257 #2C7922 #22796F
monochromatic
#190712 #491535 #792257 #A92F79 #CC4999

Accessibility & contrast

On white

9.64
#792257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#792257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792257
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792257#FFFFFF#000000##FFFFFF
##7922571.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#821F39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792257;
/* rgb */ color: rgb(121, 34, 87);
/* oklch */ color: oklch(40.7% 0.133 347.2);
Tailwind
colors: {
  custom: {
    50: '#a36586',
    500: '#792257',
    950: '#000000',
  },
}
SCSS
$custom: #792257;
$custom-light: #a36586;
$custom-dark: #000000;
JSON
{
  "hex": "#792257",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 323.448,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.13319,
    "h": 347.2
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#792257
secondary
#4BAC71
accent
#DF8348
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #792257

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

Preview Lab → · Contrast checker → · Palette generator →

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