#942864#942864

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

Color values

HEX#942864
RGBrgb(148, 40, 100)
HSLhsl(327, 57%, 37%)
HSVhsv(327, 73%, 58%)
CMYKcmyk(0%, 73%, 32.4%, 42%)
CIE-LABlab(35.47, 49.98, -9.58)
CIE-LCHlch(35.47, 50.89, 349.15°)
OKLaboklab(46.41% 0.1527 -0.0249)
OKLCHoklch(46.41% 0.155 350.7)
XYZxyz(15.2726, 8.7353, 12.9359)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942864 #289458
analogous
#8E2894 #942864 #94282E
triadic
#942864 #649428 #286494
tetradic
#942864 #948E28 #289458 #282E94
square
#942864 #948E28 #289458 #282E94
split-complementary
#942864 #2E9428 #28948E
monochromatic
#340E23 #641B43 #942864 #C43585 #D562A2

Accessibility & contrast

On white

7.65
#942864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942864
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942864#FFFFFF#000000##FFFFFF
##9428641.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#585A62
Tritanopia (blue-blind)
#9F2142
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942864;
/* rgb */ color: rgb(148, 40, 100);
/* oklch */ color: oklch(46.4% 0.155 350.7);
Tailwind
colors: {
  custom: {
    50: '#b76c90',
    500: '#942864',
    950: '#000000',
  },
}
SCSS
$custom: #942864;
$custom-light: #b76c90;
$custom-dark: #000000;
JSON
{
  "hex": "#942864",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 326.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.15469,
    "h": 350.7
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#942864
secondary
#5EBA87
accent
#E18B47
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942864

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

Preview Lab → · Contrast checker → · Palette generator →

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