#942276#942276

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

Color values

HEX#942276
RGBrgb(148, 34, 118)
HSLhsl(316, 63%, 36%)
HSVhsv(316, 77%, 58%)
CMYKcmyk(0%, 77%, 20.3%, 42%)
CIE-LABlab(35.50, 54.42, -20.93)
CIE-LCHlch(35.50, 58.31, 338.96°)
OKLaboklab(46.68% 0.1629 -0.0564)
OKLCHoklch(46.68% 0.172 340.9)
XYZxyz(16.0553, 8.7496, 17.9793)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942276 #229440
analogous
#792294 #942276 #94223D
triadic
#942276 #769422 #227694
tetradic
#942276 #947922 #229440 #223D94
square
#942276 #947922 #229440 #223D94
split-complementary
#942276 #3D9422 #229479
monochromatic
#300B27 #62174E #942276 #C62D9E #D958B7

Accessibility & contrast

On white

7.64
#942276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#942276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942276
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942276#FFFFFF#000000##FFFFFF
##9422761.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942276;
/* rgb */ color: rgb(148, 34, 118);
/* oklch */ color: oklch(46.7% 0.172 340.9);
Tailwind
colors: {
  custom: {
    50: '#b76a9d',
    500: '#942276',
    950: '#000000',
  },
}
SCSS
$custom: #942276;
$custom-light: #b76a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#942276",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 315.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.17241,
    "h": 340.9
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#942276
secondary
#55BD70
accent
#E66D42
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942276

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

Preview Lab → · Contrast checker → · Palette generator →

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