#792267#792267

#792267 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.144 H 337.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#792267
RGBrgb(121, 34, 103)
HSLhsl(312, 56%, 30%)
HSVhsv(312, 72%, 47%)
CMYKcmyk(0%, 71.9%, 14.9%, 52.5%)
CIE-LABlab(29.89, 45.18, -20.49)
CIE-LCHlch(29.89, 49.61, 335.60°)
OKLaboklab(41.46% 0.1331 -0.0556)
OKLCHoklch(41.46% 0.144 337.3)
XYZxyz(10.9056, 6.1893, 13.4496)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792267 #227934
analogous
#5F2279 #792267 #79223B
triadic
#792267 #677922 #226779
tetradic
#792267 #795F22 #227934 #223B79
square
#792267 #795F22 #227934 #223B79
split-complementary
#792267 #3B7922 #22795F
monochromatic
#190716 #49153E #792267 #A92F90 #CC49B1

Accessibility & contrast

On white

9.39
#792267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#792267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792267
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792267#FFFFFF#000000##FFFFFF
##7922671.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#802741
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792267;
/* rgb */ color: rgb(121, 34, 103);
/* oklch */ color: oklch(41.5% 0.144 337.3);
Tailwind
colors: {
  custom: {
    50: '#a36592',
    500: '#792267',
    950: '#000000',
  },
}
SCSS
$custom: #792267;
$custom-light: #a36592;
$custom-dark: #000000;
JSON
{
  "hex": "#792267",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 312.414,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.14421,
    "h": 337.3
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#792267
secondary
#4BAC5F
accent
#DF6848
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #792267

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

Preview Lab → · Contrast checker → · Palette generator →

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