#942176#942176

#942176 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.173 H 340.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#942176
RGBrgb(148, 33, 118)
HSLhsl(316, 64%, 35%)
HSVhsv(316, 78%, 58%)
CMYKcmyk(0%, 77.7%, 20.3%, 42%)
CIE-LABlab(35.39, 54.74, -21.11)
CIE-LCHlch(35.39, 58.67, 338.91°)
OKLaboklab(46.6% 0.1639 -0.0569)
OKLCHoklch(46.6% 0.173 340.9)
XYZxyz(16.0271, 8.6933, 17.9699)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942176 #21943F
analogous
#782194 #942176 #94213C
triadic
#942176 #769421 #217694
tetradic
#942176 #947821 #21943F #213C94
square
#942176 #947821 #21943F #213C94
split-complementary
#942176 #3C9421 #219478
monochromatic
#300B26 #62164E #942176 #C62C9E #D956B7

Accessibility & contrast

On white

7.67
#942176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#942176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942176
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942176#FFFFFF#000000##FFFFFF
##9421761.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4778
Deuteranopia (green-blind)
#505A73
Tritanopia (blue-blind)
#9D2449
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942176;
/* rgb */ color: rgb(148, 33, 118);
/* oklch */ color: oklch(46.6% 0.173 340.9);
Tailwind
colors: {
  custom: {
    50: '#b7699d',
    500: '#942176',
    950: '#000000',
  },
}
SCSS
$custom: #942176;
$custom-light: #b7699d;
$custom-dark: #000000;
JSON
{
  "hex": "#942176",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 315.652,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.17347,
    "h": 340.9
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#942176
secondary
#54BD6F
accent
#E76C41
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942176

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

Preview Lab → · Contrast checker → · Palette generator →

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