#862F74#862F74

#862F74 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.145 H 336.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#862F74
RGBrgb(134, 47, 116)
HSLhsl(312, 48%, 35%)
HSVhsv(312, 65%, 53%)
CMYKcmyk(0%, 64.9%, 13.4%, 47.5%)
CIE-LABlab(34.73, 45.40, -21.06)
CIE-LCHlch(34.73, 50.05, 335.11°)
OKLaboklab(45.62% 0.1331 -0.0571)
OKLCHoklch(45.62% 0.145 336.8)
XYZxyz(14.0006, 8.3635, 17.3965)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F74 #2F8641
analogous
#6C2F86 #862F74 #862F48
triadic
#862F74 #74862F #2F7486
tetradic
#862F74 #866C2F #2F8641 #2F4886
square
#862F74 #866C2F #2F8641 #2F4886
split-complementary
#862F74 #48862F #2F866C
monochromatic
#2B0F26 #591F4D #862F74 #B33F9B #C966B5

Accessibility & contrast

On white

7.86
#862F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F74
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F74#FFFFFF#000000##FFFFFF
##862F741.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#4C5672
Tritanopia (blue-blind)
#8D334D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862f74;
/* rgb */ color: rgb(134, 47, 116);
/* oklch */ color: oklch(45.6% 0.145 336.8);
Tailwind
colors: {
  custom: {
    50: '#ac6e9c',
    500: '#862f74',
    950: '#000000',
  },
}
SCSS
$custom: #862f74;
$custom-light: #ac6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#862f74",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 312.414,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.14481,
    "h": 336.8
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#862F74
secondary
#60B071
accent
#D86C50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F74

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

Preview Lab → · Contrast checker → · Palette generator →

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