#942058#942058

#942058 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.158 H 356.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#942058
RGBrgb(148, 32, 88)
HSLhsl(331, 64%, 35%)
HSVhsv(331, 78%, 58%)
CMYKcmyk(0%, 78.4%, 40.5%, 42%)
CIE-LABlab(34.06, 51.35, -3.99)
CIE-LCHlch(34.06, 51.51, 355.56°)
OKLaboklab(45.24% 0.1579 -0.0098)
OKLCHoklch(45.24% 0.158 356.4)
XYZxyz(14.4917, 8.0353, 10.0185)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942058 #20945C
analogous
#942092 #942058 #942220
triadic
#942058 #589420 #205894
tetradic
#942058 #929420 #20945C #222094
square
#942058 #929420 #20945C #222094
split-complementary
#942058 #209422 #209294
monochromatic
#2F0A1C #62153A #942058 #C62B76 #DA5495

Accessibility & contrast

On white

8.06
#942058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#942058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942058
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942058#FFFFFF#000000##FFFFFF
##9420581.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394259
Deuteranopia (green-blind)
#595855
Tritanopia (blue-blind)
#A00F39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942058;
/* rgb */ color: rgb(148, 32, 88);
/* oklch */ color: oklch(45.2% 0.158 356.4);
Tailwind
colors: {
  custom: {
    50: '#b86887',
    500: '#942058',
    950: '#000000',
  },
}
SCSS
$custom: #942058;
$custom-light: #b86887;
$custom-dark: #000000;
JSON
{
  "hex": "#942058",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 331.034,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.15816,
    "h": 356.4
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#942058
secondary
#52BE8A
accent
#E79740
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942058

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

Preview Lab → · Contrast checker → · Palette generator →

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