#942066#942066

#942066 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.165 H 348.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#942066
RGBrgb(148, 32, 102)
HSLhsl(324, 64%, 35%)
HSVhsv(324, 78%, 58%)
CMYKcmyk(0%, 78.4%, 31.1%, 42%)
CIE-LABlab(34.58, 52.95, -12.20)
CIE-LCHlch(34.58, 54.34, 347.02°)
OKLaboklab(45.79% 0.1618 -0.032)
OKLCHoklch(45.79% 0.165 348.8)
XYZxyz(15.1283, 8.2900, 13.3712)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942066 #20944E
analogous
#882094 #942066 #94202C
triadic
#942066 #669420 #206694
tetradic
#942066 #948820 #20944E #202C94
square
#942066 #948820 #20944E #202C94
split-complementary
#942066 #2C9420 #209488
monochromatic
#2F0A21 #621543 #942066 #C62B89 #DA54A5

Accessibility & contrast

On white

7.90
#942066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#942066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942066
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942066#FFFFFF#000000##FFFFFF
##9420661.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#555963
Tritanopia (blue-blind)
#9F1940
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942066;
/* rgb */ color: rgb(148, 32, 102);
/* oklch */ color: oklch(45.8% 0.165 348.8);
Tailwind
colors: {
  custom: {
    50: '#b86891',
    500: '#942066',
    950: '#000000',
  },
}
SCSS
$custom: #942066;
$custom-light: #b86891;
$custom-dark: #000000;
JSON
{
  "hex": "#942066",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 323.793,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16489,
    "h": 348.8
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#942066
secondary
#52BE7D
accent
#E78340
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942066

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

Preview Lab → · Contrast checker → · Palette generator →

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