#792138#792138

#792138 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.122 H 9.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#792138
RGBrgb(121, 33, 56)
HSLhsl(344, 57%, 30%)
HSVhsv(344, 73%, 47%)
CMYKcmyk(0%, 72.7%, 53.7%, 52.5%)
CIE-LABlab(27.95, 39.66, 7.62)
CIE-LCHlch(27.95, 40.38, 10.88°)
OKLaboklab(39.45% 0.1205 0.0195)
OKLCHoklch(39.45% 0.122 9.2)
XYZxyz(9.1436, 5.4394, 4.3090)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792138 #217962
analogous
#792164 #792138 #793621
triadic
#792138 #387921 #213879
tetradic
#792138 #647921 #217962 #362179
square
#792138 #647921 #217962 #362179
split-complementary
#792138 #217936 #216479
monochromatic
#19070B #491422 #792138 #A92E4E #CD476A

Accessibility & contrast

On white

10.06
#792138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#792138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792138
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792138#FFFFFF#000000##FFFFFF
##7921381.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363738
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#84102A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792138;
/* rgb */ color: rgb(121, 33, 56);
/* oklch */ color: oklch(39.5% 0.122 9.2);
Tailwind
colors: {
  custom: {
    50: '#a5636e',
    500: '#792138',
    950: '#000000',
  },
}
SCSS
$custom: #792138;
$custom-light: #a5636e;
$custom-dark: #000000;
JSON
{
  "hex": "#792138",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 344.318,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.12204,
    "h": 9.2
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#792138
secondary
#4AAC92
accent
#E0B847
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #792138

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

Preview Lab → · Contrast checker → · Palette generator →

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