#90256C#90256C

#90256C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.160 H 344.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#90256C
RGBrgb(144, 37, 108)
HSLhsl(320, 59%, 35%)
HSVhsv(320, 74%, 56%)
CMYKcmyk(0%, 74.3%, 25%, 43.5%)
CIE-LABlab(34.67, 51.00, -15.95)
CIE-LCHlch(34.67, 53.43, 342.63°)
OKLaboklab(45.8% 0.1541 -0.0425)
OKLCHoklch(45.8% 0.16 344.6)
XYZxyz(14.8705, 8.3367, 15.0105)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90256C #259049
analogous
#7E2590 #90256C #902536
triadic
#90256C #6C9025 #256C90
tetradic
#90256C #907E25 #259049 #253690
square
#90256C #907E25 #259049 #253690
split-complementary
#90256C #369025 #25907E
monochromatic
#2F0C23 #5F1847 #90256C #C13291 #D55BAC

Accessibility & contrast

On white

7.87
#90256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#90256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90256C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90256C#FFFFFF#000000##FFFFFF
##90256C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#9A2445
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90256c;
/* rgb */ color: rgb(144, 37, 108);
/* oklch */ color: oklch(45.8% 0.160 344.6);
Tailwind
colors: {
  custom: {
    50: '#b46a96',
    500: '#90256c',
    950: '#000000',
  },
}
SCSS
$custom: #90256c;
$custom-light: #b46a96;
$custom-dark: #000000;
JSON
{
  "hex": "#90256c",
  "rgb": {
    "r": 144,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 320.187,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.15989,
    "h": 344.6
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#90256C
secondary
#57B978
accent
#E27A45
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #90256C

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

Preview Lab → · Contrast checker → · Palette generator →

#90256C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva