#942772#942772

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

Color values

HEX#942772
RGBrgb(148, 39, 114)
HSLhsl(319, 58%, 37%)
HSVhsv(319, 74%, 58%)
CMYKcmyk(0%, 73.6%, 23%, 42%)
CIE-LABlab(35.91, 52.17, -17.77)
CIE-LCHlch(35.91, 55.12, 341.19°)
OKLaboklab(46.93% 0.1571 -0.0475)
OKLCHoklch(46.93% 0.164 343.2)
XYZxyz(15.9761, 8.9635, 16.8051)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942772 #279449
analogous
#802794 #942772 #94273B
triadic
#942772 #729427 #277294
tetradic
#942772 #948027 #279449 #273B94
square
#942772 #948027 #279449 #273B94
split-complementary
#942772 #3B9427 #279480
monochromatic
#330D27 #641A4D #942772 #C43497 #D560B1

Accessibility & contrast

On white

7.52
#942772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#942772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942772
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942772#FFFFFF#000000##FFFFFF
##9427721.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#9E2749
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942772;
/* rgb */ color: rgb(148, 39, 114);
/* oklch */ color: oklch(46.9% 0.164 343.2);
Tailwind
colors: {
  custom: {
    50: '#b76c9a',
    500: '#942772',
    950: '#000000',
  },
}
SCSS
$custom: #942772;
$custom-light: #b76c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942772",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 318.716,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.1641,
    "h": 343.2
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#942772
secondary
#5CBB7A
accent
#E27746
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942772

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

Preview Lab → · Contrast checker → · Palette generator →

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