#942274#942274

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

Color values

HEX#942274
RGBrgb(148, 34, 116)
HSLhsl(317, 63%, 36%)
HSVhsv(317, 77%, 58%)
CMYKcmyk(0%, 77%, 21.6%, 42%)
CIE-LABlab(35.41, 54.14, -19.82)
CIE-LCHlch(35.41, 57.66, 339.89°)
OKLaboklab(46.59% 0.1626 -0.0533)
OKLCHoklch(46.59% 0.171 341.9)
XYZxyz(15.9377, 8.7026, 17.3600)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942274 #229442
analogous
#7B2294 #942274 #94223B
triadic
#942274 #749422 #227494
tetradic
#942274 #947B22 #229442 #223B94
square
#942274 #947B22 #229442 #223B94
split-complementary
#942274 #3B9422 #22947B
monochromatic
#300B26 #62174D #942274 #C62D9B #D958B4

Accessibility & contrast

On white

7.66
#942274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942274
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942274#FFFFFF#000000##FFFFFF
##9422741.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#9D2448
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942274;
/* rgb */ color: rgb(148, 34, 116);
/* oklch */ color: oklch(46.6% 0.171 341.9);
Tailwind
colors: {
  custom: {
    50: '#b76a9c',
    500: '#942274',
    950: '#000000',
  },
}
SCSS
$custom: #942274;
$custom-light: #b76a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#942274",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 316.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.17111,
    "h": 341.9
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#942274
secondary
#55BD72
accent
#E67042
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942274

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

Preview Lab → · Contrast checker → · Palette generator →

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