#901F40#901F40

#901F40 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.149 H 9.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#901F40
RGBrgb(144, 31, 64)
HSLhsl(342, 65%, 34%)
HSVhsv(342, 78%, 56%)
CMYKcmyk(0%, 78.5%, 55.6%, 43.5%)
CIE-LABlab(32.44, 48.29, 9.25)
CIE-LCHlch(32.44, 49.16, 10.85°)
OKLaboklab(43.67% 0.1468 0.0235)
OKLCHoklch(43.67% 0.149 9.1)
XYZxyz(12.9182, 7.2813, 5.5747)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F40 #1F906F
analogous
#901F79 #901F40 #90371F
triadic
#901F40 #40901F #1F4090
tetradic
#901F40 #79901F #1F906F #371F90
square
#901F40 #79901F #1F906F #371F90
split-complementary
#901F40 #1F9037 #1F7990
monochromatic
#2B0913 #5E142A #901F40 #C22A56 #D95078

Accessibility & contrast

On white

8.55
#901F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#901F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F40
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F40#FFFFFF#000000##FFFFFF
##901F401.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#5A553D
Tritanopia (blue-blind)
#9E002D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #901f40;
/* rgb */ color: rgb(144, 31, 64);
/* oklch */ color: oklch(43.7% 0.149 9.1);
Tailwind
colors: {
  custom: {
    50: '#b66674',
    500: '#901f40',
    950: '#000000',
  },
}
SCSS
$custom: #901f40;
$custom-light: #b66674;
$custom-dark: #000000;
JSON
{
  "hex": "#901f40",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 342.478,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.14862,
    "h": 9.1
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#901F40
secondary
#4EBC9C
accent
#E8B740
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #901F40

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

Preview Lab → · Contrast checker → · Palette generator →

#901F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva