#942773#942773

#942773 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 342.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#942773
RGBrgb(148, 39, 115)
HSLhsl(318, 58%, 37%)
HSVhsv(318, 74%, 58%)
CMYKcmyk(0%, 73.6%, 22.3%, 42%)
CIE-LABlab(35.96, 52.31, -18.34)
CIE-LCHlch(35.96, 55.43, 340.68°)
OKLaboklab(46.97% 0.1573 -0.0491)
OKLCHoklch(46.97% 0.165 342.6)
XYZxyz(16.0333, 8.9864, 17.1065)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942773 #279448
analogous
#7F2794 #942773 #94273D
triadic
#942773 #739427 #277394
tetradic
#942773 #947F27 #279448 #273D94
square
#942773 #947F27 #279448 #273D94
split-complementary
#942773 #3D9427 #27947F
monochromatic
#330D28 #641A4D #942773 #C43499 #D560B2

Accessibility & contrast

On white

7.51
#942773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#942773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942773
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942773#FFFFFF#000000##FFFFFF
##9427731.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#535B70
Tritanopia (blue-blind)
#9E2849
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942773;
/* rgb */ color: rgb(148, 39, 115);
/* oklch */ color: oklch(47.0% 0.165 342.6);
Tailwind
colors: {
  custom: {
    50: '#b76c9b',
    500: '#942773',
    950: '#000000',
  },
}
SCSS
$custom: #942773;
$custom-light: #b76c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#942773",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 318.165,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.16475,
    "h": 342.6
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#942773
secondary
#5CBB79
accent
#E27546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942773

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

Preview Lab → · Contrast checker → · Palette generator →

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