#841238#841238

#841238 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.147 H 8.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#841238
RGBrgb(132, 18, 56)
HSLhsl(340, 76%, 29%)
HSVhsv(340, 86%, 52%)
CMYKcmyk(0%, 86.4%, 57.6%, 48.2%)
CIE-LABlab(28.45, 47.93, 8.65)
CIE-LCHlch(28.45, 48.70, 10.23°)
OKLaboklab(40.22% 0.1459 0.0219)
OKLCHoklch(40.22% 0.148 8.5)
XYZxyz(10.4469, 5.6252, 4.2763)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841238 #12845E
analogous
#841271 #841238 #842512
triadic
#841238 #388412 #123884
tetradic
#841238 #718412 #12845E #251284
square
#841238 #718412 #12845E #251284
split-complementary
#841238 #128425 #127184
monochromatic
#1B040B #4E0B21 #841238 #BA194F #E22E6A

Accessibility & contrast

On white

9.88
#841238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#841238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841238
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841238#FFFFFF#000000##FFFFFF
##8412381.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333539
Deuteranopia (green-blind)
#504B35
Tritanopia (blue-blind)
#910024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #841238;
/* rgb */ color: rgb(132, 18, 56);
/* oklch */ color: oklch(40.2% 0.147 8.5);
Tailwind
colors: {
  custom: {
    50: '#ae5f6e',
    500: '#841238',
    950: '#000000',
  },
}
SCSS
$custom: #841238;
$custom-light: #ae5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#841238",
  "rgb": {
    "r": 132,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 340,
    "s": 76,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.1475,
    "h": 8.5
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#841238
secondary
#39B98E
accent
#F3B335
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #841238

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

Preview Lab → · Contrast checker → · Palette generator →

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