#901874#901874

#901874 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.178 H 340.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#901874
RGBrgb(144, 24, 116)
HSLhsl(314, 71%, 33%)
HSVhsv(314, 83%, 56%)
CMYKcmyk(0%, 83.3%, 19.4%, 43.5%)
CIE-LABlab(33.66, 56.04, -22.59)
CIE-LCHlch(33.66, 60.43, 338.05°)
OKLaboklab(45.19% 0.1676 -0.0611)
OKLCHoklch(45.19% 0.178 340)
XYZxyz(14.9811, 7.8451, 17.2449)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901874 #189034
analogous
#701890 #901874 #901838
triadic
#901874 #749018 #187490
tetradic
#901874 #907018 #189034 #183890
square
#901874 #907018 #189034 #183890
split-complementary
#901874 #389018 #189070
monochromatic
#27071F #5C0F4A #901874 #C4219E #E043BB

Accessibility & contrast

On white

8.18
#901874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#901874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901874
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901874#FFFFFF#000000##FFFFFF
##9018741.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#991D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #901874;
/* rgb */ color: rgb(144, 24, 116);
/* oklch */ color: oklch(45.2% 0.178 340.0);
Tailwind
colors: {
  custom: {
    50: '#b5659c',
    500: '#901874',
    950: '#000000',
  },
}
SCSS
$custom: #901874;
$custom-light: #b5659c;
$custom-dark: #000000;
JSON
{
  "hex": "#901874",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 314,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.17835,
    "h": 340
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#901874
secondary
#43C061
accent
#EE643A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #901874

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

Preview Lab → · Contrast checker → · Palette generator →

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