#862148#862148

#862148 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.139 H 1.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#862148
RGBrgb(134, 33, 72)
HSLhsl(337, 60%, 33%)
HSVhsv(337, 75%, 53%)
CMYKcmyk(0%, 75.4%, 46.3%, 47.5%)
CIE-LABlab(30.94, 45.31, 1.58)
CIE-LCHlch(30.94, 45.34, 1.99°)
OKLaboklab(42.28% 0.1389 0.0046)
OKLCHoklch(42.28% 0.139 1.9)
XYZxyz(11.5460, 6.6254, 6.8005)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862148 #21865F
analogous
#86217A #862148 #862D21
triadic
#862148 #488621 #214886
tetradic
#862148 #7A8621 #21865F #2D2186
square
#862148 #7A8621 #21865F #2D2186
split-complementary
#862148 #21862D #217A86
monochromatic
#240913 #55152E #862148 #B72D62 #D34E82

Accessibility & contrast

On white

9.03
#862148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#862148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862148
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862148#FFFFFF#000000##FFFFFF
##8621481.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C49
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#921032
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862148;
/* rgb */ color: rgb(134, 33, 72);
/* oklch */ color: oklch(42.3% 0.139 1.9);
Tailwind
colors: {
  custom: {
    50: '#ae667a',
    500: '#862148',
    950: '#000000',
  },
}
SCSS
$custom: #862148;
$custom-light: #ae667a;
$custom-dark: #000000;
JSON
{
  "hex": "#862148",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 336.832,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.13895,
    "h": 1.9
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#862148
secondary
#4CB78E
accent
#E4A644
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #862148

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

Preview Lab → · Contrast checker → · Palette generator →

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