#942579#942579

#942579 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 339.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#942579
RGBrgb(148, 37, 121)
HSLhsl(315, 60%, 36%)
HSVhsv(315, 75%, 58%)
CMYKcmyk(0%, 75%, 18.2%, 42%)
CIE-LABlab(35.99, 53.86, -22.06)
CIE-LCHlch(35.99, 58.20, 337.73°)
OKLaboklab(47.08% 0.1604 -0.0596)
OKLCHoklch(47.08% 0.171 339.6)
XYZxyz(16.3259, 9.0011, 18.9630)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942579 #259440
analogous
#782594 #942579 #942542
triadic
#942579 #799425 #257994
tetradic
#942579 #947825 #259440 #254294
square
#942579 #947825 #259440 #254294
split-complementary
#942579 #429425 #259478
monochromatic
#320D29 #631951 #942579 #C531A1 #D65DB9

Accessibility & contrast

On white

7.50
#942579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942579
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942579#FFFFFF#000000##FFFFFF
##9425791.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#505B76
Tritanopia (blue-blind)
#9D294C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942579;
/* rgb */ color: rgb(148, 37, 121);
/* oklch */ color: oklch(47.1% 0.171 339.6);
Tailwind
colors: {
  custom: {
    50: '#b76ba0',
    500: '#942579',
    950: '#000000',
  },
}
SCSS
$custom: #942579;
$custom-light: #b76ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#942579",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 314.595,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.17108,
    "h": 339.6
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#942579
secondary
#59BB71
accent
#E36B45
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942579

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

Preview Lab → · Contrast checker → · Palette generator →

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