#942766#942766

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

Color values

HEX#942766
RGBrgb(148, 39, 102)
HSLhsl(325, 58%, 37%)
HSVhsv(325, 74%, 58%)
CMYKcmyk(0%, 73.6%, 31.1%, 42%)
CIE-LABlab(35.42, 50.59, -10.94)
CIE-LCHlch(35.42, 51.76, 347.80°)
OKLaboklab(46.4% 0.1543 -0.0286)
OKLCHoklch(46.4% 0.157 349.5)
XYZxyz(15.3373, 8.7080, 13.4409)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942766 #279455
analogous
#8C2794 #942766 #942730
triadic
#942766 #669427 #276694
tetradic
#942766 #948C27 #279455 #273094
square
#942766 #948C27 #279455 #273094
split-complementary
#942766 #309427 #27948C
monochromatic
#330D23 #641A45 #942766 #C43487 #D560A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942766#FFFFFF#000000##FFFFFF
##9427661.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)
#384768
Deuteranopia (green-blind)
#575A64
Tritanopia (blue-blind)
#9F2143
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942766;
/* rgb */ color: rgb(148, 39, 102);
/* oklch */ color: oklch(46.4% 0.157 349.5);
Tailwind
colors: {
  custom: {
    50: '#b76b91',
    500: '#942766',
    950: '#000000',
  },
}
SCSS
$custom: #942766;
$custom-light: #b76b91;
$custom-dark: #000000;
JSON
{
  "hex": "#942766",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 325.321,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.15698,
    "h": 349.5
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#942766
secondary
#5CBB84
accent
#E28846
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942766

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

Preview Lab → · Contrast checker → · Palette generator →

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