#942256#942256

#942256 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 357.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#942256
RGBrgb(148, 34, 86)
HSLhsl(333, 63%, 36%)
HSVhsv(333, 77%, 58%)
CMYKcmyk(0%, 77%, 41.9%, 42%)
CIE-LABlab(34.22, 50.49, -2.45)
CIE-LCHlch(34.22, 50.55, 357.22°)
OKLaboklab(45.33% 0.1551 -0.0058)
OKLCHoklch(45.33% 0.155 357.9)
XYZxyz(14.4655, 8.1137, 9.6066)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942256 #229460
analogous
#94228F #942256 #942722
triadic
#942256 #569422 #225694
tetradic
#942256 #8F9422 #229460 #272294
square
#942256 #8F9422 #229460 #272294
split-complementary
#942256 #229427 #228F94
monochromatic
#300B1C #621739 #942256 #C62D73 #D95893

Accessibility & contrast

On white

8.01
#942256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#942256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942256
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942256#FFFFFF#000000##FFFFFF
##9422561.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#5A5853
Tritanopia (blue-blind)
#A01139
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942256;
/* rgb */ color: rgb(148, 34, 86);
/* oklch */ color: oklch(45.3% 0.155 357.9);
Tailwind
colors: {
  custom: {
    50: '#b86985',
    500: '#942256',
    950: '#000000',
  },
}
SCSS
$custom: #942256;
$custom-light: #b86985;
$custom-dark: #000000;
JSON
{
  "hex": "#942256",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 332.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.15524,
    "h": 357.9
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#942256
secondary
#55BD8D
accent
#E69B42
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942256

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

Preview Lab → · Contrast checker → · Palette generator →

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