#901838#901838

#901838 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 12.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#901838
RGBrgb(144, 24, 56)
HSLhsl(344, 71%, 33%)
HSVhsv(344, 83%, 56%)
CMYKcmyk(0%, 83.3%, 61.1%, 43.5%)
CIE-LABlab(31.51, 49.78, 13.25)
CIE-LCHlch(31.51, 51.51, 14.90°)
OKLaboklab(42.92% 0.1503 0.0327)
OKLCHoklch(42.92% 0.154 12.3)
XYZxyz(12.5433, 6.8700, 4.4062)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901838 #189070
analogous
#901874 #901838 #903418
triadic
#901838 #389018 #183890
tetradic
#901838 #749018 #189070 #341890
square
#901838 #749018 #189070 #341890
split-complementary
#901838 #189034 #187490
monochromatic
#27070F #5C0F24 #901838 #C4214C #E0436D

Accessibility & contrast

On white

8.85
#901838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#901838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901838
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901838#FFFFFF#000000##FFFFFF
##9018381.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B38
Deuteranopia (green-blind)
#5A5335
Tritanopia (blue-blind)
#9E0026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #901838;
/* rgb */ color: rgb(144, 24, 56);
/* oklch */ color: oklch(42.9% 0.154 12.3);
Tailwind
colors: {
  custom: {
    50: '#b7636e',
    500: '#901838',
    950: '#000000',
  },
}
SCSS
$custom: #901838;
$custom-light: #b7636e;
$custom-dark: #000000;
JSON
{
  "hex": "#901838",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 344,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.15377,
    "h": 12.3
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#901838
secondary
#43C09F
accent
#EEBE3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #901838

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

Preview Lab → · Contrast checker → · Palette generator →

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