#942762#942762

#942762 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.155 H 351.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#942762
RGBrgb(148, 39, 98)
HSLhsl(328, 58%, 37%)
HSVhsv(328, 74%, 58%)
CMYKcmyk(0%, 73.6%, 33.8%, 42%)
CIE-LABlab(35.26, 50.10, -8.61)
CIE-LCHlch(35.26, 50.84, 350.24°)
OKLaboklab(46.24% 0.1533 -0.0223)
OKLCHoklch(46.24% 0.155 351.7)
XYZxyz(15.1437, 8.6305, 12.4213)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942762 #279459
analogous
#902794 #942762 #94272C
triadic
#942762 #629427 #276294
tetradic
#942762 #949027 #279459 #272C94
square
#942762 #949027 #279459 #272C94
split-complementary
#942762 #2C9427 #279490
monochromatic
#330D22 #641A42 #942762 #C43482 #D560A0

Accessibility & contrast

On white

7.70
#942762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#942762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942762
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942762#FFFFFF#000000##FFFFFF
##9427621.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#9F1F41
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942762;
/* rgb */ color: rgb(148, 39, 98);
/* oklch */ color: oklch(46.2% 0.155 351.7);
Tailwind
colors: {
  custom: {
    50: '#b86b8e',
    500: '#942762',
    950: '#000000',
  },
}
SCSS
$custom: #942762;
$custom-light: #b86b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#942762",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 327.523,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.15488,
    "h": 351.7
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#942762
secondary
#5CBB88
accent
#E28D46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942762

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

Preview Lab → · Contrast checker → · Palette generator →

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