#942472#942472

#942472 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 343.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#942472
RGBrgb(148, 36, 114)
HSLhsl(318, 61%, 36%)
HSVhsv(318, 76%, 58%)
CMYKcmyk(0%, 75.7%, 23%, 42%)
CIE-LABlab(35.55, 53.21, -18.34)
CIE-LCHlch(35.55, 56.29, 340.98°)
OKLaboklab(46.66% 0.1603 -0.0491)
OKLCHoklch(46.66% 0.168 343)
XYZxyz(15.8815, 8.7742, 16.7735)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942472 #249446
analogous
#7E2494 #942472 #94243A
triadic
#942472 #729424 #247294
tetradic
#942472 #947E24 #249446 #243A94
square
#942472 #947E24 #249446 #243A94
split-complementary
#942472 #3A9424 #24947E
monochromatic
#320C26 #63184C #942472 #C53098 #D75BB2

Accessibility & contrast

On white

7.62
#942472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942472
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942472#FFFFFF#000000##FFFFFF
##9424721.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#9E2448
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942472;
/* rgb */ color: rgb(148, 36, 114);
/* oklch */ color: oklch(46.7% 0.168 343.0);
Tailwind
colors: {
  custom: {
    50: '#b76a9a',
    500: '#942472',
    950: '#000000',
  },
}
SCSS
$custom: #942472;
$custom-light: #b76a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942472",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 318.214,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.16761,
    "h": 343
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#942472
secondary
#58BC76
accent
#E47444
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942472

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

Preview Lab → · Contrast checker → · Palette generator →

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