#942866#942866

#942866 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.156 H 349.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#942866
RGBrgb(148, 40, 102)
HSLhsl(326, 57%, 37%)
HSVhsv(326, 73%, 58%)
CMYKcmyk(0%, 73%, 31.1%, 42%)
CIE-LABlab(35.55, 50.23, -10.74)
CIE-LCHlch(35.55, 51.36, 347.93°)
OKLaboklab(46.49% 0.1532 -0.028)
OKLCHoklch(46.49% 0.156 349.6)
XYZxyz(15.3706, 8.7745, 13.4520)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942866 #289456
analogous
#8C2894 #942866 #942830
triadic
#942866 #669428 #286694
tetradic
#942866 #948C28 #289456 #283094
square
#942866 #948C28 #289456 #283094
split-complementary
#942866 #309428 #28948C
monochromatic
#340E24 #641B45 #942866 #C43587 #D562A4

Accessibility & contrast

On white

7.62
#942866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#942866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942866
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942866#FFFFFF#000000##FFFFFF
##9428661.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#585B64
Tritanopia (blue-blind)
#9F2243
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942866;
/* rgb */ color: rgb(148, 40, 102);
/* oklch */ color: oklch(46.5% 0.156 349.6);
Tailwind
colors: {
  custom: {
    50: '#b76c91',
    500: '#942866',
    950: '#000000',
  },
}
SCSS
$custom: #942866;
$custom-light: #b76c91;
$custom-dark: #000000;
JSON
{
  "hex": "#942866",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 325.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.15575,
    "h": 349.6
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#942866
secondary
#5EBA85
accent
#E18947
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942866

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

Preview Lab → · Contrast checker → · Palette generator →

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