#942865#942865

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

Color values

HEX#942865
RGBrgb(148, 40, 101)
HSLhsl(326, 57%, 37%)
HSVhsv(326, 73%, 58%)
CMYKcmyk(0%, 73%, 31.8%, 42%)
CIE-LABlab(35.51, 50.10, -10.16)
CIE-LCHlch(35.51, 51.12, 348.54°)
OKLaboklab(46.45% 0.1529 -0.0265)
OKLCHoklch(46.45% 0.155 350.2)
XYZxyz(15.3213, 8.7548, 13.1924)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942865 #289457
analogous
#8D2894 #942865 #94282F
triadic
#942865 #659428 #286594
tetradic
#942865 #948D28 #289457 #282F94
square
#942865 #948D28 #289457 #282F94
split-complementary
#942865 #2F9428 #28948D
monochromatic
#340E23 #641B44 #942865 #C43586 #D562A3

Accessibility & contrast

On white

7.63
#942865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942865
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942865#FFFFFF#000000##FFFFFF
##9428651.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394767
Deuteranopia (green-blind)
#585A63
Tritanopia (blue-blind)
#9F2243
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942865;
/* rgb */ color: rgb(148, 40, 101);
/* oklch */ color: oklch(46.5% 0.155 350.2);
Tailwind
colors: {
  custom: {
    50: '#b76c91',
    500: '#942865',
    950: '#000000',
  },
}
SCSS
$custom: #942865;
$custom-light: #b76c91;
$custom-dark: #000000;
JSON
{
  "hex": "#942865",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 326.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.15521,
    "h": 350.2
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#942865
secondary
#5EBA86
accent
#E18A47
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942865

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

Preview Lab → · Contrast checker → · Palette generator →

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