#942152#942152

#942152 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.155 H 0.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#942152
RGBrgb(148, 33, 82)
HSLhsl(334, 64%, 35%)
HSVhsv(334, 78%, 58%)
CMYKcmyk(0%, 77.7%, 44.6%, 42%)
CIE-LABlab(33.97, 50.42, -0.22)
CIE-LCHlch(33.97, 50.42, 359.75°)
OKLaboklab(45.11% 0.1548 0)
OKLCHoklch(45.11% 0.155 0)
XYZxyz(14.2807, 7.9947, 8.7721)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942152 #219463
analogous
#94218B #942152 #942A21
triadic
#942152 #529421 #215294
tetradic
#942152 #8B9421 #219463 #2A2194
square
#942152 #8B9421 #219463 #2A2194
split-complementary
#942152 #21942A #218B94
monochromatic
#300B1B #621636 #942152 #C62C6E #D9568E

Accessibility & contrast

On white

8.08
#942152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#942152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942152
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942152#FFFFFF#000000##FFFFFF
##9421521.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942152;
/* rgb */ color: rgb(148, 33, 82);
/* oklch */ color: oklch(45.1% 0.155 0.0);
Tailwind
colors: {
  custom: {
    50: '#b86882',
    500: '#942152',
    950: '#000000',
  },
}
SCSS
$custom: #942152;
$custom-light: #b86882;
$custom-dark: #000000;
JSON
{
  "hex": "#942152",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 334.435,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.15483,
    "h": 0
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#942152
secondary
#54BD90
accent
#E7A041
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942152

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

Preview Lab → · Contrast checker → · Palette generator →

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