#942879#942879

#942879 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.168 H 339.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#942879
RGBrgb(148, 40, 121)
HSLhsl(315, 57%, 37%)
HSVhsv(315, 73%, 58%)
CMYKcmyk(0%, 73%, 18.2%, 42%)
CIE-LABlab(36.36, 52.81, -21.48)
CIE-LCHlch(36.36, 57.01, 337.87°)
OKLaboklab(47.35% 0.1572 -0.058)
OKLCHoklch(47.35% 0.168 339.7)
XYZxyz(16.4231, 9.1955, 18.9954)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942879 #289443
analogous
#792894 #942879 #942843
triadic
#942879 #799428 #287994
tetradic
#942879 #947928 #289443 #284394
square
#942879 #947928 #289443 #284394
split-complementary
#942879 #439428 #289479
monochromatic
#340E2A #641B52 #942879 #C435A0 #D562B8

Accessibility & contrast

On white

7.40
#942879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#942879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942879
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942879#FFFFFF#000000##FFFFFF
##9428791.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#9D2C4D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942879;
/* rgb */ color: rgb(148, 40, 121);
/* oklch */ color: oklch(47.4% 0.168 339.7);
Tailwind
colors: {
  custom: {
    50: '#b76ca0',
    500: '#942879',
    950: '#000000',
  },
}
SCSS
$custom: #942879;
$custom-light: #b76ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#942879",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 315,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.16754,
    "h": 339.7
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#942879
secondary
#5EBA75
accent
#E16E47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942879

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

Preview Lab → · Contrast checker → · Palette generator →

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