#905162#905162

#905162 is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.4% C 0.086 H 3.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#905162
RGBrgb(144, 81, 98)
HSLhsl(344, 28%, 44%)
HSVhsv(344, 44%, 56%)
CMYKcmyk(0%, 43.8%, 31.9%, 43.5%)
CIE-LABlab(42.30, 28.45, 1.72)
CIE-LCHlch(42.30, 28.51, 3.46°)
OKLaboklab(51.37% 0.0862 0.0049)
OKLCHoklch(51.37% 0.086 3.2)
XYZxyz(16.6492, 12.6973, 13.1269)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905162 #51907F
analogous
#905182 #905162 #906051
triadic
#905162 #629051 #516290
tetradic
#905162 #829051 #51907F #605190
square
#905162 #829051 #51907F #605190
split-complementary
#905162 #519060 #518290
monochromatic
#42252D #693B47 #905162 #AE7081 #C497A3

Accessibility & contrast

On white

5.93
#905162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#905162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905162
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905162#FFFFFF#000000##FFFFFF
##9051621.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5D62
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#9A4C57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #905162;
/* rgb */ color: rgb(144, 81, 98);
/* oklch */ color: oklch(51.4% 0.086 3.2);
Tailwind
colors: {
  custom: {
    50: '#b2838e',
    500: '#905162',
    950: '#000000',
  },
}
SCSS
$custom: #905162;
$custom-light: #b2838e;
$custom-dark: #000000;
JSON
{
  "hex": "#905162",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 343.81,
    "s": 28,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.08636,
    "h": 3.2
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#905162
secondary
#8BB1A7
accent
#C4AA63
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D

Preview Lab

Preview with #905162

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

Preview Lab → · Contrast checker → · Palette generator →

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