#942768#942768

#942768 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.158 H 348.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#942768
RGBrgb(148, 39, 104)
HSLhsl(324, 58%, 37%)
HSVhsv(324, 74%, 58%)
CMYKcmyk(0%, 73.6%, 29.7%, 42%)
CIE-LABlab(35.49, 50.84, -12.09)
CIE-LCHlch(35.49, 52.26, 346.63°)
OKLaboklab(46.48% 0.1549 -0.0317)
OKLCHoklch(46.48% 0.158 348.4)
XYZxyz(15.4377, 8.7481, 13.9696)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942768 #279453
analogous
#8A2794 #942768 #942732
triadic
#942768 #689427 #276894
tetradic
#942768 #948A27 #279453 #273294
square
#942768 #948A27 #279453 #273294
split-complementary
#942768 #329427 #27948A
monochromatic
#330D24 #641A46 #942768 #C4348A #D560A6

Accessibility & contrast

On white

7.64
#942768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942768
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942768#FFFFFF#000000##FFFFFF
##9427681.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37476A
Deuteranopia (green-blind)
#575A65
Tritanopia (blue-blind)
#9F2244
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942768;
/* rgb */ color: rgb(148, 39, 104);
/* oklch */ color: oklch(46.5% 0.158 348.4);
Tailwind
colors: {
  custom: {
    50: '#b76b93',
    500: '#942768',
    950: '#000000',
  },
}
SCSS
$custom: #942768;
$custom-light: #b76b93;
$custom-dark: #000000;
JSON
{
  "hex": "#942768",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 324.22,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.15808,
    "h": 348.4
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#942768
secondary
#5CBB82
accent
#E28546
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #942768

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

Preview Lab → · Contrast checker → · Palette generator →

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