#671158#671158

#671158 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.1% C 0.142 H 336.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#671158
RGBrgb(103, 17, 88)
HSLhsl(310, 72%, 24%)
HSVhsv(310, 83%, 40%)
CMYKcmyk(0%, 83.5%, 14.6%, 59.6%)
CIE-LABlab(23.64, 44.14, -20.68)
CIE-LCHlch(23.64, 48.74, 334.89°)
OKLaboklab(36.06% 0.1299 -0.0564)
OKLCHoklch(36.06% 0.142 336.5)
XYZxyz(7.5556, 3.9898, 9.6028)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671158 #116720
analogous
#4B1167 #671158 #67112D
triadic
#671158 #586711 #115867
tetradic
#671158 #674B11 #116720 #112D67
square
#671158 #674B11 #116720 #112D67
split-complementary
#671158 #2D6711 #11674B
monochromatic
#1A0416 #32082B #671158 #9C1A85 #D022B2

Accessibility & contrast

On white

11.68
#671158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#671158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671158
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671158#FFFFFF#000000##FFFFFF
##6711581.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#323D56
Tritanopia (blue-blind)
#6D1834
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #671158;
/* rgb */ color: rgb(103, 17, 88);
/* oklch */ color: oklch(36.1% 0.142 336.5);
Tailwind
colors: {
  custom: {
    50: '#965b87',
    500: '#671158',
    950: '#000000',
  },
}
SCSS
$custom: #671158;
$custom-light: #965b87;
$custom-dark: #000000;
JSON
{
  "hex": "#671158",
  "rgb": {
    "r": 103,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 310.465,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.14164,
    "h": 336.5
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#671158
secondary
#359F47
accent
#EE5939
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #671158

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

Preview Lab → · Contrast checker → · Palette generator →

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