#C6316E#C6316E

#C6316E is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.190 H 0.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C6316E
RGBrgb(198, 49, 110)
HSLhsl(335, 60%, 48%)
HSVhsv(335, 75%, 78%)
CMYKcmyk(0%, 75.3%, 44.4%, 22.4%)
CIE-LABlab(46.09, 61.90, 0.90)
CIE-LCHlch(46.09, 61.91, 0.83°)
OKLaboklab(56.01% 0.19 0.003)
OKLCHoklch(56.01% 0.19 0.9)
XYZxyz(27.2036, 15.3318, 16.2756)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6316E #31C689
analogous
#C631B8 #C6316E #C63E31
triadic
#C6316E #6EC631 #316EC6
tetradic
#C6316E #B8C631 #31C689 #3E31C6
square
#C6316E #B8C631 #31C689 #3E31C6
split-complementary
#C6316E #31C63E #31B8C6
monochromatic
#641937 #952553 #C6316E #D75D8F #E38EB1

Accessibility & contrast

On white

5.17
#C6316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C6316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6316E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6316E#FFFFFF#000000##FFFFFF
##C6316E1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#7B786B
Tritanopia (blue-blind)
#D7154B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c6316e;
/* rgb */ color: rgb(198, 49, 110);
/* oklch */ color: oklch(56.0% 0.190 0.9);
Tailwind
colors: {
  custom: {
    50: '#dd7797',
    500: '#c6316e',
    950: '#000000',
  },
}
SCSS
$custom: #c6316e;
$custom-light: #dd7797;
$custom-dark: #000000;
JSON
{
  "hex": "#c6316e",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 335.436,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.18998,
    "h": 0.9
  },
  "luminance": 0.15328
}

Semantic roles & 50–950 ramp

primary
#C6316E
secondary
#85CEB0
accent
#E3A244
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C6316E

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

Preview Lab → · Contrast checker → · Palette generator →

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