#941A71#941A71

#941A71 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.177 H 342.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#941A71
RGBrgb(148, 26, 113)
HSLhsl(317, 70%, 34%)
HSVhsv(317, 82%, 58%)
CMYKcmyk(0%, 82.4%, 23.6%, 42%)
CIE-LABlab(34.45, 56.07, -19.40)
CIE-LCHlch(34.45, 59.33, 340.92°)
OKLaboklab(45.85% 0.1693 -0.052)
OKLCHoklch(45.85% 0.177 342.9)
XYZxyz(15.5634, 8.2286, 16.3883)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A71 #1A943D
analogous
#7A1A94 #941A71 #941A34
triadic
#941A71 #71941A #1A7194
tetradic
#941A71 #947A1A #1A943D #1A3494
square
#941A71 #947A1A #1A943D #1A3494
split-complementary
#941A71 #34941A #1A947A
monochromatic
#2C0822 #601149 #941A71 #C82399 #DF49B4

Accessibility & contrast

On white

7.94
#941A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#941A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A71
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A71#FFFFFF#000000##FFFFFF
##941A711.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9E1B45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #941a71;
/* rgb */ color: rgb(148, 26, 113);
/* oklch */ color: oklch(45.9% 0.177 342.9);
Tailwind
colors: {
  custom: {
    50: '#b8679a',
    500: '#941a71',
    950: '#000000',
  },
}
SCSS
$custom: #941a71;
$custom-light: #b8679a;
$custom-dark: #000000;
JSON
{
  "hex": "#941a71",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 317.213,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.17708,
    "h": 342.9
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#941A71
secondary
#49C16B
accent
#ED6E3B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941A71

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

Preview Lab → · Contrast checker → · Palette generator →

#941A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva