#942862#942862

#942862 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 351.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#942862
RGBrgb(148, 40, 98)
HSLhsl(328, 57%, 37%)
HSVhsv(328, 73%, 58%)
CMYKcmyk(0%, 73%, 33.8%, 42%)
CIE-LABlab(35.39, 49.73, -8.42)
CIE-LCHlch(35.39, 50.44, 350.39°)
OKLaboklab(46.33% 0.1521 -0.0217)
OKLCHoklch(46.33% 0.154 351.9)
XYZxyz(15.1770, 8.6971, 12.4324)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942862 #28945A
analogous
#902894 #942862 #94282C
triadic
#942862 #629428 #286294
tetradic
#942862 #949028 #28945A #282C94
square
#942862 #949028 #28945A #282C94
split-complementary
#942862 #2C9428 #289490
monochromatic
#340E22 #641B42 #942862 #C43582 #D5629F

Accessibility & contrast

On white

7.67
#942862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#942862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942862
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942862#FFFFFF#000000##FFFFFF
##9428621.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#595A60
Tritanopia (blue-blind)
#9F2041
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942862;
/* rgb */ color: rgb(148, 40, 98);
/* oklch */ color: oklch(46.3% 0.154 351.9);
Tailwind
colors: {
  custom: {
    50: '#b76c8e',
    500: '#942862',
    950: '#000000',
  },
}
SCSS
$custom: #942862;
$custom-light: #b76c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#942862",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 327.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.15366,
    "h": 351.9
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#942862
secondary
#5EBA88
accent
#E18E47
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942862

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

Preview Lab → · Contrast checker → · Palette generator →

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