#603157#603157

#603157 is a dark, moderate pink. Relative luminance 0.054; OKLCH L 38.8% C 0.087 H 334.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#603157
RGBrgb(96, 49, 87)
HSLhsl(311, 32%, 28%)
HSVhsv(311, 49%, 38%)
CMYKcmyk(0%, 49%, 9.4%, 62.4%)
CIE-LABlab(27.77, 27.15, -13.70)
CIE-LCHlch(27.77, 30.41, 333.22°)
OKLaboklab(38.83% 0.0782 -0.037)
OKLCHoklch(38.83% 0.087 334.7)
XYZxyz(7.6425, 5.3720, 9.6493)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603157 #31603A
analogous
#513160 #603157 #60313F
triadic
#603157 #576031 #315760
tetradic
#603157 #605131 #31603A #313F60
square
#603157 #605131 #31603A #313F60
split-complementary
#603157 #3F6031 #316051
monochromatic
#140A12 #371C32 #603157 #89467C #AD5E9E

Accessibility & contrast

On white

10.12
#603157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#603157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603157
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603157#FFFFFF#000000##FFFFFF
##6031571.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D58
Deuteranopia (green-blind)
#3E4456
Tritanopia (blue-blind)
#643340
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #603157;
/* rgb */ color: rgb(96, 49, 87);
/* oklch */ color: oklch(38.8% 0.087 334.7);
Tailwind
colors: {
  custom: {
    50: '#8e6b86',
    500: '#603157',
    950: '#000000',
  },
}
SCSS
$custom: #603157;
$custom-light: #8e6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#603157",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 311.489,
    "s": 32.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.08654,
    "h": 334.7
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#603157
secondary
#5C9166
accent
#C9735F
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0C070B
muted
#7D7A7C

Preview Lab

Preview with #603157

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

Preview Lab → · Contrast checker → · Palette generator →

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