#791262#791262

#791262 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.158 H 339.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#791262
RGBrgb(121, 18, 98)
HSLhsl(313, 74%, 27%)
HSVhsv(313, 85%, 47%)
CMYKcmyk(0%, 85.1%, 19%, 52.5%)
CIE-LABlab(27.79, 49.67, -20.51)
CIE-LCHlch(27.79, 53.74, 337.56°)
OKLaboklab(39.86% 0.1482 -0.0556)
OKLCHoklch(39.86% 0.158 339.4)
XYZxyz(10.3064, 5.3805, 12.0487)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791262 #127929
analogous
#5D1279 #791262 #79122F
triadic
#791262 #627912 #126279
tetradic
#791262 #795D12 #127929 #122F79
square
#791262 #795D12 #127929 #122F79
split-complementary
#791262 #2F7912 #12795D
monochromatic
#1B0416 #440A37 #791262 #AE1A8D #DF27B6

Accessibility & contrast

On white

10.12
#791262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791262
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791262#FFFFFF#000000##FFFFFF
##7912621.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#3E4760
Tritanopia (blue-blind)
#81173A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791262;
/* rgb */ color: rgb(121, 18, 98);
/* oklch */ color: oklch(39.9% 0.158 339.4);
Tailwind
colors: {
  custom: {
    50: '#a35f8f',
    500: '#791262',
    950: '#000000',
  },
}
SCSS
$custom: #791262;
$custom-light: #a35f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#791262",
  "rgb": {
    "r": 121,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 313.398,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.15829,
    "h": 339.4
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#791262
secondary
#38AF52
accent
#F16137
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050C
muted
#7F797D

Preview Lab

Preview with #791262

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

Preview Lab → · Contrast checker → · Palette generator →

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