#942052#942052

#942052 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 359.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#942052
RGBrgb(148, 32, 82)
HSLhsl(334, 64%, 35%)
HSVhsv(334, 78%, 58%)
CMYKcmyk(0%, 78.4%, 44.6%, 42%)
CIE-LABlab(33.86, 50.74, -0.39)
CIE-LCHlch(33.86, 50.74, 359.56°)
OKLaboklab(45.03% 0.1559 -0.0004)
OKLCHoklch(45.03% 0.156 359.8)
XYZxyz(14.2534, 7.9400, 8.7630)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942052 #209462
analogous
#94208C #942052 #942820
triadic
#942052 #529420 #205294
tetradic
#942052 #8C9420 #209462 #282094
square
#942052 #8C9420 #209462 #282094
split-complementary
#942052 #209428 #208C94
monochromatic
#2F0A1A #621536 #942052 #C62B6E #DA548E

Accessibility & contrast

On white

8.12
#942052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#942052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942052
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942052#FFFFFF#000000##FFFFFF
##9420521.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#A10936
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942052;
/* rgb */ color: rgb(148, 32, 82);
/* oklch */ color: oklch(45.0% 0.156 359.8);
Tailwind
colors: {
  custom: {
    50: '#b86882',
    500: '#942052',
    950: '#000000',
  },
}
SCSS
$custom: #942052;
$custom-light: #b86882;
$custom-dark: #000000;
JSON
{
  "hex": "#942052",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 334.138,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.15586,
    "h": 359.8
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#942052
secondary
#52BE8F
accent
#E79F40
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942052

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

Preview Lab → · Contrast checker → · Palette generator →

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