#942873#942873

#942873 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 342.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#942873
RGBrgb(148, 40, 115)
HSLhsl(318, 57%, 37%)
HSVhsv(318, 73%, 58%)
CMYKcmyk(0%, 73%, 22.3%, 42%)
CIE-LABlab(36.09, 51.95, -18.14)
CIE-LCHlch(36.09, 55.03, 340.75°)
OKLaboklab(47.06% 0.1562 -0.0486)
OKLCHoklch(47.06% 0.164 342.7)
XYZxyz(16.0666, 9.0529, 17.1176)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942873 #289449
analogous
#7F2894 #942873 #94283D
triadic
#942873 #739428 #287394
tetradic
#942873 #947F28 #289449 #283D94
square
#942873 #947F28 #289449 #283D94
split-complementary
#942873 #3D9428 #28947F
monochromatic
#340E28 #641B4E #942873 #C43598 #D562B1

Accessibility & contrast

On white

7.47
#942873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942873
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942873#FFFFFF#000000##FFFFFF
##9428731.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A75
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#9D294A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942873;
/* rgb */ color: rgb(148, 40, 115);
/* oklch */ color: oklch(47.1% 0.164 342.7);
Tailwind
colors: {
  custom: {
    50: '#b76c9b',
    500: '#942873',
    950: '#000000',
  },
}
SCSS
$custom: #942873;
$custom-light: #b76c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#942873",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 318.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.16353,
    "h": 342.7
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#942873
secondary
#5EBA7A
accent
#E17647
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942873

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

Preview Lab → · Contrast checker → · Palette generator →

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