#C8396E#C8396E

#C8396E is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.183 H 2.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C8396E
RGBrgb(200, 57, 110)
HSLhsl(338, 57%, 50%)
HSVhsv(338, 72%, 78%)
CMYKcmyk(0%, 71.5%, 45%, 21.6%)
CIE-LABlab(47.41, 59.76, 2.87)
CIE-LCHlch(47.41, 59.83, 2.75°)
OKLaboklab(57.05% 0.183 0.0081)
OKLCHoklch(57.05% 0.183 2.5)
XYZxyz(28.0992, 16.3350, 16.4221)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8396E #39C893
analogous
#C839B6 #C8396E #C84B39
triadic
#C8396E #6EC839 #396EC8
tetradic
#C8396E #B6C839 #39C893 #4B39C8
square
#C8396E #B6C839 #39C893 #4B39C8
split-complementary
#C8396E #39C84B #39B6C8
monochromatic
#691D39 #992B54 #C8396E #D56991 #E399B4

Accessibility & contrast

On white

4.92
#C8396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C8396E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8396E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8396E#FFFFFF#000000##FFFFFF
##C8396E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F6F
Deuteranopia (green-blind)
#7F7B6B
Tritanopia (blue-blind)
#D9224F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c8396e;
/* rgb */ color: rgb(200, 57, 110);
/* oklch */ color: oklch(57.1% 0.183 2.5);
Tailwind
colors: {
  custom: {
    50: '#de7a97',
    500: '#c8396e',
    950: '#000000',
  },
}
SCSS
$custom: #c8396e;
$custom-light: #de7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#c8396e",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 337.762,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.18319,
    "h": 2.5
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#C8396E
secondary
#8FCEB7
accent
#E0A848
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C8396E

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

Preview Lab → · Contrast checker → · Palette generator →

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