#942166#942166

#942166 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.164 H 348.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#942166
RGBrgb(148, 33, 102)
HSLhsl(324, 64%, 35%)
HSVhsv(324, 78%, 58%)
CMYKcmyk(0%, 77.7%, 31.1%, 42%)
CIE-LABlab(34.69, 52.64, -12.04)
CIE-LCHlch(34.69, 54.00, 347.12°)
OKLaboklab(45.87% 0.1608 -0.0316)
OKLCHoklch(45.87% 0.164 348.9)
XYZxyz(15.1557, 8.3447, 13.3804)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942166 #21944F
analogous
#882194 #942166 #94212C
triadic
#942166 #669421 #216694
tetradic
#942166 #948821 #21944F #212C94
square
#942166 #948821 #21944F #212C94
split-complementary
#942166 #2C9421 #219488
monochromatic
#300B21 #621644 #942166 #C62C88 #D956A5

Accessibility & contrast

On white

7.87
#942166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#942166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942166
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942166#FFFFFF#000000##FFFFFF
##9421661.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#555963
Tritanopia (blue-blind)
#9F1A41
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942166;
/* rgb */ color: rgb(148, 33, 102);
/* oklch */ color: oklch(45.9% 0.164 348.9);
Tailwind
colors: {
  custom: {
    50: '#b86991',
    500: '#942166',
    950: '#000000',
  },
}
SCSS
$custom: #942166;
$custom-light: #b86991;
$custom-dark: #000000;
JSON
{
  "hex": "#942166",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 324,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.16383,
    "h": 348.9
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#942166
secondary
#54BD7E
accent
#E78341
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942166

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

Preview Lab → · Contrast checker → · Palette generator →

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