#942054#942054

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

Color values

HEX#942054
RGBrgb(148, 32, 84)
HSLhsl(333, 64%, 35%)
HSVhsv(333, 78%, 58%)
CMYKcmyk(0%, 78.4%, 43.2%, 42%)
CIE-LABlab(33.92, 50.94, -1.59)
CIE-LCHlch(33.92, 50.96, 358.21°)
OKLaboklab(45.09% 0.1565 -0.0036)
OKLCHoklch(45.09% 0.157 358.7)
XYZxyz(14.3306, 7.9709, 9.1697)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942054 #209460
analogous
#94208E #942054 #942620
triadic
#942054 #549420 #205494
tetradic
#942054 #8E9420 #209460 #262094
square
#942054 #8E9420 #209460 #262094
split-complementary
#942054 #209426 #208E94
monochromatic
#2F0A1B #621537 #942054 #C62B71 #DA5490

Accessibility & contrast

On white

8.10
#942054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#942054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942054
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942054#FFFFFF#000000##FFFFFF
##9420541.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4255
Deuteranopia (green-blind)
#595851
Tritanopia (blue-blind)
#A10B37
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942054;
/* rgb */ color: rgb(148, 32, 84);
/* oklch */ color: oklch(45.1% 0.157 358.7);
Tailwind
colors: {
  custom: {
    50: '#b86884',
    500: '#942054',
    950: '#000000',
  },
}
SCSS
$custom: #942054;
$custom-light: #b86884;
$custom-dark: #000000;
JSON
{
  "hex": "#942054",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 333.103,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.15658,
    "h": 358.7
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#942054
secondary
#52BE8D
accent
#E79D40
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942054

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

Preview Lab → · Contrast checker → · Palette generator →

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