#942362#942362

#942362 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 351.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#942362
RGBrgb(148, 35, 98)
HSLhsl(327, 62%, 36%)
HSVhsv(327, 76%, 58%)
CMYKcmyk(0%, 76.4%, 33.8%, 42%)
CIE-LABlab(34.77, 51.50, -9.36)
CIE-LCHlch(34.77, 52.35, 349.69°)
OKLaboklab(45.87% 0.1577 -0.0243)
OKLCHoklch(45.87% 0.16 351.2)
XYZxyz(15.0192, 8.3816, 12.3798)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942362 #239455
analogous
#8D2394 #942362 #942329
triadic
#942362 #629423 #236294
tetradic
#942362 #948D23 #239455 #232994
square
#942362 #948D23 #239455 #232994
split-complementary
#942362 #299423 #23948D
monochromatic
#310C20 #631741 #942362 #C52F83 #D85AA0

Accessibility & contrast

On white

7.85
#942362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#942362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942362
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942362#FFFFFF#000000##FFFFFF
##9423621.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#57595F
Tritanopia (blue-blind)
#9F1A3F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942362;
/* rgb */ color: rgb(148, 35, 98);
/* oklch */ color: oklch(45.9% 0.160 351.2);
Tailwind
colors: {
  custom: {
    50: '#b8698e',
    500: '#942362',
    950: '#000000',
  },
}
SCSS
$custom: #942362;
$custom-light: #b8698e;
$custom-dark: #000000;
JSON
{
  "hex": "#942362",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 326.549,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.15954,
    "h": 351.2
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#942362
secondary
#57BC84
accent
#E58B43
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942362

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

Preview Lab → · Contrast checker → · Palette generator →

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