#941F71#941F71

#941F71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 343.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#941F71
RGBrgb(148, 31, 113)
HSLhsl(318, 65%, 35%)
HSVhsv(318, 79%, 58%)
CMYKcmyk(0%, 79.1%, 23.6%, 42%)
CIE-LABlab(34.94, 54.67, -18.64)
CIE-LCHlch(34.94, 57.76, 341.17°)
OKLaboklab(46.21% 0.165 -0.0499)
OKLCHoklch(46.21% 0.172 343.2)
XYZxyz(15.6840, 8.4698, 16.4284)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F71 #1F9442
analogous
#7D1F94 #941F71 #941F36
triadic
#941F71 #71941F #1F7194
tetradic
#941F71 #947D1F #1F9442 #1F3694
square
#941F71 #947D1F #1F9442 #1F3694
split-complementary
#941F71 #36941F #1F947D
monochromatic
#2F0A24 #61144A #941F71 #C72A98 #DB53B2

Accessibility & contrast

On white

7.80
#941F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#941F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F71
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F71#FFFFFF#000000##FFFFFF
##941F711.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9E1F46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941f71;
/* rgb */ color: rgb(148, 31, 113);
/* oklch */ color: oklch(46.2% 0.172 343.2);
Tailwind
colors: {
  custom: {
    50: '#b7689a',
    500: '#941f71',
    950: '#000000',
  },
}
SCSS
$custom: #941f71;
$custom-light: #b7689a;
$custom-dark: #000000;
JSON
{
  "hex": "#941f71",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 317.949,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.17235,
    "h": 343.2
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#941F71
secondary
#51BE71
accent
#E8723F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941F71

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

Preview Lab → · Contrast checker → · Palette generator →

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