#681157#681157

#681157 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.2% C 0.141 H 337.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#681157
RGBrgb(104, 17, 87)
HSLhsl(312, 72%, 24%)
HSVhsv(312, 84%, 41%)
CMYKcmyk(0%, 83.7%, 16.3%, 59.2%)
CIE-LABlab(23.78, 44.23, -19.78)
CIE-LCHlch(23.78, 48.45, 335.90°)
OKLaboklab(36.18% 0.1309 -0.0538)
OKLCHoklch(36.18% 0.142 337.7)
XYZxyz(7.6298, 4.0328, 9.3916)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681157 #116822
analogous
#4D1168 #681157 #68112B
triadic
#681157 #576811 #115768
tetradic
#681157 #684D11 #116822 #112B68
square
#681157 #684D11 #116822 #112B68
split-complementary
#681157 #2B6811 #11684D
monochromatic
#1A0416 #33082B #681157 #9D1A83 #D122AF

Accessibility & contrast

On white

11.63
#681157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#681157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681157
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681157#FFFFFF#000000##FFFFFF
##6811571.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153059
Deuteranopia (green-blind)
#343D55
Tritanopia (blue-blind)
#6E1733
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #681157;
/* rgb */ color: rgb(104, 17, 87);
/* oklch */ color: oklch(36.2% 0.141 337.7);
Tailwind
colors: {
  custom: {
    50: '#965b86',
    500: '#681157',
    950: '#000000',
  },
}
SCSS
$custom: #681157;
$custom-light: #965b86;
$custom-dark: #000000;
JSON
{
  "hex": "#681157",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 311.724,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36176,
    "c": 0.1415,
    "h": 337.7
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#681157
secondary
#35A04A
accent
#EF5D39
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #681157

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

Preview Lab → · Contrast checker → · Palette generator →

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