#942662#942662

#942662 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.156 H 351.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#942662
RGBrgb(148, 38, 98)
HSLhsl(327, 59%, 36%)
HSVhsv(327, 74%, 58%)
CMYKcmyk(0%, 74.3%, 33.8%, 42%)
CIE-LABlab(35.13, 50.46, -8.81)
CIE-LCHlch(35.13, 51.22, 350.10°)
OKLaboklab(46.14% 0.1544 -0.0228)
OKLCHoklch(46.14% 0.156 351.6)
XYZxyz(15.1113, 8.5657, 12.4105)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942662 #269458
analogous
#8F2694 #942662 #94262B
triadic
#942662 #629426 #266294
tetradic
#942662 #948F26 #269458 #262B94
square
#942662 #948F26 #269458 #262B94
split-complementary
#942662 #2B9426 #26948F
monochromatic
#330D22 #631942 #942662 #C53382 #D65FA0

Accessibility & contrast

On white

7.74
#942662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#942662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942662
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942662#FFFFFF#000000##FFFFFF
##9426621.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#585A5F
Tritanopia (blue-blind)
#9F1E40
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942662;
/* rgb */ color: rgb(148, 38, 98);
/* oklch */ color: oklch(46.1% 0.156 351.6);
Tailwind
colors: {
  custom: {
    50: '#b86b8e',
    500: '#942662',
    950: '#000000',
  },
}
SCSS
$custom: #942662;
$custom-light: #b86b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#942662",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 327.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.15607,
    "h": 351.6
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#942662
secondary
#5BBB87
accent
#E28D45
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942662

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

Preview Lab → · Contrast checker → · Palette generator →

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