#942948#942948

#942948 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.143 H 7.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#942948
RGBrgb(148, 41, 72)
HSLhsl(343, 57%, 37%)
HSVhsv(343, 72%, 58%)
CMYKcmyk(0%, 72.3%, 51.4%, 42%)
CIE-LABlab(34.70, 46.61, 7.32)
CIE-LCHlch(34.70, 47.18, 8.93°)
OKLaboklab(45.55% 0.1419 0.019)
OKLCHoklch(45.55% 0.143 7.6)
XYZxyz(14.1766, 8.3515, 6.9951)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942948 #299475
analogous
#94297E #942948 #944029
triadic
#942948 #489429 #294894
tetradic
#942948 #7E9429 #299475 #402994
square
#942948 #7E9429 #299475 #402994
split-complementary
#942948 #299440 #297E94
monochromatic
#340E19 #641C31 #942948 #C4365F #D46384

Accessibility & contrast

On white

7.87
#942948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#942948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942948
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942948#FFFFFF#000000##FFFFFF
##9429481.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A11436
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942948;
/* rgb */ color: rgb(148, 41, 72);
/* oklch */ color: oklch(45.6% 0.143 7.6);
Tailwind
colors: {
  custom: {
    50: '#b96b7a',
    500: '#942948',
    950: '#000000',
  },
}
SCSS
$custom: #942948;
$custom-light: #b96b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#942948",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 342.617,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.1432,
    "h": 7.6
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#942948
secondary
#5FBAA0
accent
#E0B448
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #942948

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

Preview Lab → · Contrast checker → · Palette generator →

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