#942872#942872

#942872 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.163 H 343.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#942872
RGBrgb(148, 40, 114)
HSLhsl(319, 57%, 37%)
HSVhsv(319, 73%, 58%)
CMYKcmyk(0%, 73%, 23%, 42%)
CIE-LABlab(36.04, 51.81, -17.58)
CIE-LCHlch(36.04, 54.71, 341.26°)
OKLaboklab(47.02% 0.156 -0.047)
OKLCHoklch(47.02% 0.163 343.2)
XYZxyz(16.0094, 9.0300, 16.8162)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942872 #28944A
analogous
#802894 #942872 #94283C
triadic
#942872 #729428 #287294
tetradic
#942872 #948028 #28944A #283C94
square
#942872 #948028 #28944A #283C94
split-complementary
#942872 #3C9428 #289480
monochromatic
#340E28 #641B4D #942872 #C43597 #D562B0

Accessibility & contrast

On white

7.49
#942872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#942872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942872
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942872#FFFFFF#000000##FFFFFF
##9428721.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#9E2849
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942872;
/* rgb */ color: rgb(148, 40, 114);
/* oklch */ color: oklch(47.0% 0.163 343.2);
Tailwind
colors: {
  custom: {
    50: '#b76c9a',
    500: '#942872',
    950: '#000000',
  },
}
SCSS
$custom: #942872;
$custom-light: #b76c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942872",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 318.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.16288,
    "h": 343.2
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#942872
secondary
#5EBA7B
accent
#E17747
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942872

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

Preview Lab → · Contrast checker → · Palette generator →

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