#942047#942047

#942047 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 6.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#942047
RGBrgb(148, 32, 71)
HSLhsl(340, 64%, 35%)
HSVhsv(340, 78%, 58%)
CMYKcmyk(0%, 78.4%, 52%, 42%)
CIE-LABlab(33.53, 49.72, 6.31)
CIE-LCHlch(33.53, 50.12, 7.24°)
OKLaboklab(44.68% 0.1518 0.0165)
OKLCHoklch(44.68% 0.153 6.2)
XYZxyz(13.8678, 7.7858, 6.7326)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942047 #20946D
analogous
#942081 #942047 #943320
triadic
#942047 #479420 #204794
tetradic
#942047 #819420 #20946D #332094
square
#942047 #819420 #20946D #332094
split-complementary
#942047 #209433 #208194
monochromatic
#2F0A17 #62152F #942047 #C62B5F #DA5481

Accessibility & contrast

On white

8.21
#942047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#942047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942047
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942047#FFFFFF#000000##FFFFFF
##9420471.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942047;
/* rgb */ color: rgb(148, 32, 71);
/* oklch */ color: oklch(44.7% 0.153 6.2);
Tailwind
colors: {
  custom: {
    50: '#b96779',
    500: '#942047',
    950: '#000000',
  },
}
SCSS
$custom: #942047;
$custom-light: #b96779;
$custom-dark: #000000;
JSON
{
  "hex": "#942047",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 339.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.15272,
    "h": 6.2
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#942047
secondary
#52BE9A
accent
#E7AF40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #942047

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

Preview Lab → · Contrast checker → · Palette generator →

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