#942060#942060

#942060 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 352.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#942060
RGBrgb(148, 32, 96)
HSLhsl(327, 64%, 35%)
HSVhsv(327, 78%, 58%)
CMYKcmyk(0%, 78.4%, 35.1%, 42%)
CIE-LABlab(34.35, 52.24, -8.71)
CIE-LCHlch(34.35, 52.96, 350.53°)
OKLaboklab(45.54% 0.1602 -0.0225)
OKLCHoklch(45.54% 0.162 352)
XYZxyz(14.8415, 8.1752, 11.8605)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942060 #209454
analogous
#8E2094 #942060 #942026
triadic
#942060 #609420 #206094
tetradic
#942060 #948E20 #209454 #202694
square
#942060 #948E20 #209454 #202694
split-complementary
#942060 #269420 #20948E
monochromatic
#2F0A1F #62153F #942060 #C62B81 #DA549E

Accessibility & contrast

On white

7.97
#942060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#942060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942060
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942060#FFFFFF#000000##FFFFFF
##9420601.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364362
Deuteranopia (green-blind)
#57585D
Tritanopia (blue-blind)
#A0153D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942060;
/* rgb */ color: rgb(148, 32, 96);
/* oklch */ color: oklch(45.5% 0.162 352.0);
Tailwind
colors: {
  custom: {
    50: '#b8688d',
    500: '#942060',
    950: '#000000',
  },
}
SCSS
$custom: #942060;
$custom-light: #b8688d;
$custom-dark: #000000;
JSON
{
  "hex": "#942060",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 326.897,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.16178,
    "h": 352
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#942060
secondary
#52BE82
accent
#E78B40
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942060

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

Preview Lab → · Contrast checker → · Palette generator →

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