#672158#672158

#672158 is a dark, vivid pink. Relative luminance 0.047; OKLCH L 37.6% C 0.121 H 337.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#672158
RGBrgb(103, 33, 88)
HSLhsl(313, 51%, 27%)
HSVhsv(313, 68%, 40%)
CMYKcmyk(0%, 68%, 14.6%, 59.6%)
CIE-LABlab(25.79, 38.06, -17.32)
CIE-LCHlch(25.79, 41.81, 335.53°)
OKLaboklab(37.62% 0.1118 -0.0469)
OKLCHoklch(37.62% 0.121 337.2)
XYZxyz(7.8989, 4.6765, 9.7173)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672158 #216730
analogous
#532167 #672158 #672135
triadic
#672158 #586721 #215867
tetradic
#672158 #675321 #216730 #213567
square
#672158 #675321 #216730 #213567
split-complementary
#672158 #356721 #216753
monochromatic
#170714 #391230 #672158 #953080 #C240A6

Accessibility & contrast

On white

10.85
#672158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#672158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672158
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672158#FFFFFF#000000##FFFFFF
##6721581.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23365A
Deuteranopia (green-blind)
#394156
Tritanopia (blue-blind)
#6D2439
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #672158;
/* rgb */ color: rgb(103, 33, 88);
/* oklch */ color: oklch(37.6% 0.121 337.2);
Tailwind
colors: {
  custom: {
    50: '#956287',
    500: '#672158',
    950: '#000000',
  },
}
SCSS
$custom: #672158;
$custom-light: #956287;
$custom-dark: #000000;
JSON
{
  "hex": "#672158",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 312.857,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.12125,
    "h": 337.2
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#672158
secondary
#499B5A
accent
#DB6B4D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #672158

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

Preview Lab → · Contrast checker → · Palette generator →

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