#862F68#862F68

#862F68 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.136 H 343.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#862F68
RGBrgb(134, 47, 104)
HSLhsl(321, 48%, 35%)
HSVhsv(321, 65%, 53%)
CMYKcmyk(0%, 64.9%, 22.4%, 47.5%)
CIE-LABlab(34.19, 43.53, -14.29)
CIE-LCHlch(34.19, 45.82, 341.82°)
OKLaboklab(45.06% 0.1306 -0.0381)
OKLCHoklch(45.06% 0.136 343.7)
XYZxyz(13.3471, 8.1021, 13.9549)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F68 #2F864D
analogous
#782F86 #862F68 #862F3C
triadic
#862F68 #68862F #2F6886
tetradic
#862F68 #86782F #2F864D #2F3C86
square
#862F68 #86782F #2F864D #2F3C86
split-complementary
#862F68 #3C862F #2F8678
monochromatic
#2B0F22 #591F45 #862F68 #B33F8B #C966A7

Accessibility & contrast

On white

8.01
#862F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F68
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F68#FFFFFF#000000##FFFFFF
##862F681.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37476A
Deuteranopia (green-blind)
#505666
Tritanopia (blue-blind)
#8E2F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862f68;
/* rgb */ color: rgb(134, 47, 104);
/* oklch */ color: oklch(45.1% 0.136 343.7);
Tailwind
colors: {
  custom: {
    50: '#ac6d93',
    500: '#862f68',
    950: '#000000',
  },
}
SCSS
$custom: #862f68;
$custom-light: #ac6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#862f68",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 320.69,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.13603,
    "h": 343.7
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#862F68
secondary
#60B07C
accent
#D87F50
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #862F68

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

Preview Lab → · Contrast checker → · Palette generator →

#862F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva