#942147#942147

#942147 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.152 H 6.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#942147
RGBrgb(148, 33, 71)
HSLhsl(340, 64%, 35%)
HSVhsv(340, 78%, 58%)
CMYKcmyk(0%, 77.7%, 52%, 42%)
CIE-LABlab(33.65, 49.40, 6.48)
CIE-LCHlch(33.65, 49.82, 7.47°)
OKLaboklab(44.77% 0.1508 0.0169)
OKLCHoklch(44.77% 0.152 6.4)
XYZxyz(13.8952, 7.8405, 6.7417)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942147 #21946E
analogous
#942180 #942147 #943421
triadic
#942147 #479421 #214794
tetradic
#942147 #809421 #21946E #342194
square
#942147 #809421 #21946E #342194
split-complementary
#942147 #219434 #218094
monochromatic
#300B17 #62162F #942147 #C62C5F #D95681

Accessibility & contrast

On white

8.18
#942147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#942147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942147
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942147#FFFFFF#000000##FFFFFF
##9421471.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#A20131
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942147;
/* rgb */ color: rgb(148, 33, 71);
/* oklch */ color: oklch(44.8% 0.152 6.4);
Tailwind
colors: {
  custom: {
    50: '#b96879',
    500: '#942147',
    950: '#000000',
  },
}
SCSS
$custom: #942147;
$custom-light: #b96879;
$custom-dark: #000000;
JSON
{
  "hex": "#942147",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 340.174,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.15172,
    "h": 6.4
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#942147
secondary
#54BD9A
accent
#E7B041
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #942147

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

Preview Lab → · Contrast checker → · Palette generator →

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