#942281#942281

#942281 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 335.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#942281
RGBrgb(148, 34, 129)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 77%, 58%)
CMYKcmyk(0%, 77%, 12.8%, 42%)
CIE-LABlab(36.04, 56.02, -26.97)
CIE-LCHlch(36.04, 62.18, 334.29°)
OKLaboklab(47.25% 0.1642 -0.0736)
OKLCHoklch(47.25% 0.18 335.9)
XYZxyz(16.7475, 9.0265, 21.6249)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942281 #229435
analogous
#6E2294 #942281 #942248
triadic
#942281 #819422 #228194
tetradic
#942281 #946E22 #229435 #224894
square
#942281 #946E22 #229435 #224894
split-complementary
#942281 #489422 #22946E
monochromatic
#300B2A #621756 #942281 #C62DAC #D958C3

Accessibility & contrast

On white

7.49
#942281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#942281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942281
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942281#FFFFFF#000000##FFFFFF
##9422811.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9C2B4F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942281;
/* rgb */ color: rgb(148, 34, 129);
/* oklch */ color: oklch(47.2% 0.180 335.9);
Tailwind
colors: {
  custom: {
    50: '#b76aa6',
    500: '#942281',
    950: '#000000',
  },
}
SCSS
$custom: #942281;
$custom-light: #b76aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#942281",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 310,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.17997,
    "h": 335.9
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#942281
secondary
#55BD66
accent
#E65D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942281

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

Preview Lab → · Contrast checker → · Palette generator →

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