#942273#942273

#942273 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.170 H 342.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#942273
RGBrgb(148, 34, 115)
HSLhsl(317, 63%, 36%)
HSVhsv(317, 77%, 58%)
CMYKcmyk(0%, 77%, 22.3%, 42%)
CIE-LABlab(35.36, 54.01, -19.26)
CIE-LCHlch(35.36, 57.34, 340.37°)
OKLaboklab(46.54% 0.1624 -0.0517)
OKLCHoklch(46.54% 0.17 342.3)
XYZxyz(15.8798, 8.6794, 17.0553)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942273 #229443
analogous
#7C2294 #942273 #94223A
triadic
#942273 #739422 #227394
tetradic
#942273 #947C22 #229443 #223A94
square
#942273 #947C22 #229443 #223A94
split-complementary
#942273 #3A9422 #22947C
monochromatic
#300B26 #62174C #942273 #C62D9A #D958B3

Accessibility & contrast

On white

7.68
#942273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942273
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942273#FFFFFF#000000##FFFFFF
##9422731.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4775
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#9E2348
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942273;
/* rgb */ color: rgb(148, 34, 115);
/* oklch */ color: oklch(46.5% 0.170 342.3);
Tailwind
colors: {
  custom: {
    50: '#b76a9b',
    500: '#942273',
    950: '#000000',
  },
}
SCSS
$custom: #942273;
$custom-light: #b76a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#942273",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 317.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.17047,
    "h": 342.3
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#942273
secondary
#55BD73
accent
#E67142
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942273

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

Preview Lab → · Contrast checker → · Palette generator →

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