#901238#901238

#901238 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 11.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#901238
RGBrgb(144, 18, 56)
HSLhsl(342, 78%, 32%)
HSVhsv(342, 88%, 56%)
CMYKcmyk(0%, 87.5%, 61.1%, 43.5%)
CIE-LABlab(30.99, 51.25, 12.55)
CIE-LCHlch(30.99, 52.77, 13.76°)
OKLaboklab(42.54% 0.155 0.0311)
OKLCHoklch(42.54% 0.158 11.3)
XYZxyz(12.4330, 6.6493, 4.3694)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901238 #12906A
analogous
#901277 #901238 #902B12
triadic
#901238 #389012 #123890
tetradic
#901238 #779012 #12906A #2B1290
square
#901238 #779012 #12906A #2B1290
split-complementary
#901238 #12902B #127790
monochromatic
#23040E #5A0B23 #901238 #C6194D #E6366B

Accessibility & contrast

On white

9.02
#901238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#901238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901238
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901238#FFFFFF#000000##FFFFFF
##9012381.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393939
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9E0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #901238;
/* rgb */ color: rgb(144, 18, 56);
/* oklch */ color: oklch(42.5% 0.158 11.3);
Tailwind
colors: {
  custom: {
    50: '#b7616e',
    500: '#901238',
    950: '#000000',
  },
}
SCSS
$custom: #901238;
$custom-light: #b7616e;
$custom-dark: #000000;
JSON
{
  "hex": "#901238",
  "rgb": {
    "r": 144,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 341.905,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.15809,
    "h": 11.3
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#901238
secondary
#3AC49A
accent
#F4BA34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #901238

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

Preview Lab → · Contrast checker → · Palette generator →

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