#942852#942852

#942852 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.147 H 1.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#942852
RGBrgb(148, 40, 82)
HSLhsl(337, 57%, 37%)
HSVhsv(337, 73%, 58%)
CMYKcmyk(0%, 73%, 44.6%, 42%)
CIE-LABlab(34.85, 47.95, 1.06)
CIE-LCHlch(34.85, 47.96, 1.27°)
OKLaboklab(45.76% 0.1469 0.0033)
OKLCHoklch(45.76% 0.147 1.3)
XYZxyz(14.4956, 8.4245, 8.8438)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942852 #28946A
analogous
#942888 #942852 #943428
triadic
#942852 #529428 #285294
tetradic
#942852 #889428 #28946A #342894
square
#942852 #889428 #28946A #342894
split-complementary
#942852 #289434 #288894
monochromatic
#340E1D #641B37 #942852 #C4356D #D5628E

Accessibility & contrast

On white

7.82
#942852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#942852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942852
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942852#FFFFFF#000000##FFFFFF
##9428521.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#5C5A4F
Tritanopia (blue-blind)
#A1183A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942852;
/* rgb */ color: rgb(148, 40, 82);
/* oklch */ color: oklch(45.8% 0.147 1.3);
Tailwind
colors: {
  custom: {
    50: '#b86b82',
    500: '#942852',
    950: '#000000',
  },
}
SCSS
$custom: #942852;
$custom-light: #b86b82;
$custom-dark: #000000;
JSON
{
  "hex": "#942852",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 336.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.14698,
    "h": 1.3
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#942852
secondary
#5EBA96
accent
#E1A547
background
#FBF6F7
surface
#F7ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942852

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

Preview Lab → · Contrast checker → · Palette generator →

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