#942277#942277

#942277 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 340.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#942277
RGBrgb(148, 34, 119)
HSLhsl(315, 63%, 36%)
HSVhsv(315, 77%, 58%)
CMYKcmyk(0%, 77%, 19.6%, 42%)
CIE-LABlab(35.54, 54.56, -21.49)
CIE-LCHlch(35.54, 58.64, 338.50°)
OKLaboklab(46.73% 0.1631 -0.058)
OKLCHoklch(46.73% 0.173 340.4)
XYZxyz(16.1150, 8.7735, 18.2939)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942277 #22943F
analogous
#782294 #942277 #94223E
triadic
#942277 #779422 #227794
tetradic
#942277 #947822 #22943F #223E94
square
#942277 #947822 #22943F #223E94
split-complementary
#942277 #3E9422 #229478
monochromatic
#300B27 #62174F #942277 #C62D9F #D958B8

Accessibility & contrast

On white

7.62
#942277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942277
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942277#FFFFFF#000000##FFFFFF
##9422771.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#9D254A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942277;
/* rgb */ color: rgb(148, 34, 119);
/* oklch */ color: oklch(46.7% 0.173 340.4);
Tailwind
colors: {
  custom: {
    50: '#b76a9e',
    500: '#942277',
    950: '#000000',
  },
}
SCSS
$custom: #942277;
$custom-light: #b76a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#942277",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 315.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.17307,
    "h": 340.4
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#942277
secondary
#55BD6F
accent
#E66C42
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942277

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

Preview Lab → · Contrast checker → · Palette generator →

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