#942079#942079

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

Color values

HEX#942079
RGBrgb(148, 32, 121)
HSLhsl(314, 64%, 35%)
HSVhsv(314, 78%, 58%)
CMYKcmyk(0%, 78.4%, 18.2%, 42%)
CIE-LABlab(35.42, 55.47, -22.94)
CIE-LCHlch(35.42, 60.02, 337.53°)
OKLaboklab(46.67% 0.1652 -0.0621)
OKLCHoklch(46.67% 0.177 339.4)
XYZxyz(16.1809, 8.7110, 18.9147)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942079 #20943B
analogous
#752094 #942079 #94203F
triadic
#942079 #799420 #207994
tetradic
#942079 #947520 #20943B #203F94
square
#942079 #947520 #20943B #203F94
split-complementary
#942079 #3F9420 #209475
monochromatic
#2F0A27 #621550 #942079 #C62BA2 #DA54BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942079#FFFFFF#000000##FFFFFF
##9420791.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)
#28487B
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#9D254B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942079;
/* rgb */ color: rgb(148, 32, 121);
/* oklch */ color: oklch(46.7% 0.177 339.4);
Tailwind
colors: {
  custom: {
    50: '#b769a0',
    500: '#942079',
    950: '#000000',
  },
}
SCSS
$custom: #942079;
$custom-light: #b769a0;
$custom-dark: #000000;
JSON
{
  "hex": "#942079",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 313.966,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.17651,
    "h": 339.4
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#942079
secondary
#52BE6B
accent
#E76740
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942079

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

Preview Lab → · Contrast checker → · Palette generator →

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