#862248#862248

#862248 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.138 H 2.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#862248
RGBrgb(134, 34, 72)
HSLhsl(337, 60%, 33%)
HSVhsv(337, 75%, 53%)
CMYKcmyk(0%, 74.6%, 46.3%, 47.5%)
CIE-LABlab(31.07, 44.94, 1.77)
CIE-LCHlch(31.07, 44.97, 2.25°)
OKLaboklab(42.38% 0.1377 0.0051)
OKLCHoklch(42.38% 0.138 2.1)
XYZxyz(11.5741, 6.6818, 6.8099)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862248 #228660
analogous
#86227A #862248 #862E22
triadic
#862248 #488622 #224886
tetradic
#862248 #7A8622 #228660 #2E2286
square
#862248 #7A8622 #228660 #2E2286
split-complementary
#862248 #22862E #227A86
monochromatic
#240914 #55162E #862248 #B72E62 #D35082

Accessibility & contrast

On white

8.99
#862248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#862248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862248
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862248#FFFFFF#000000##FFFFFF
##8622481.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862248;
/* rgb */ color: rgb(134, 34, 72);
/* oklch */ color: oklch(42.4% 0.138 2.1);
Tailwind
colors: {
  custom: {
    50: '#ae667a',
    500: '#862248',
    950: '#000000',
  },
}
SCSS
$custom: #862248;
$custom-light: #ae667a;
$custom-dark: #000000;
JSON
{
  "hex": "#862248",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 337.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.13777,
    "h": 2.1
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#862248
secondary
#4EB68E
accent
#E3A745
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #862248

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

Preview Lab → · Contrast checker → · Palette generator →

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