#C8397F#C8397F

#C8397F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.6% C 0.189 H 354.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C8397F
RGBrgb(200, 57, 127)
HSLhsl(331, 57%, 50%)
HSVhsv(331, 72%, 78%)
CMYKcmyk(0%, 71.5%, 36.5%, 21.6%)
CIE-LABlab(47.93, 61.48, -6.73)
CIE-LCHlch(47.93, 61.85, 353.76°)
OKLaboklab(57.61% 0.1885 -0.017)
OKLCHoklch(57.61% 0.189 354.9)
XYZxyz(29.1151, 16.7414, 21.7727)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8397F #39C882
analogous
#C839C7 #C8397F #C83A39
triadic
#C8397F #7FC839 #397FC8
tetradic
#C8397F #C7C839 #39C882 #3A39C8
square
#C8397F #C7C839 #39C882 #3A39C8
split-complementary
#C8397F #39C83A #39C7C8
monochromatic
#691D43 #992B61 #C8397F #D5699E #E399BD

Accessibility & contrast

On white

4.83
#C8397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C8397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8397F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8397F#FFFFFF#000000##FFFFFF
##C8397F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#7B7B7C
Tritanopia (blue-blind)
#D82B57
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c8397f;
/* rgb */ color: rgb(200, 57, 127);
/* oklch */ color: oklch(57.6% 0.189 354.9);
Tailwind
colors: {
  custom: {
    50: '#de7ba4',
    500: '#c8397f',
    950: '#000000',
  },
}
SCSS
$custom: #c8397f;
$custom-light: #de7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8397f",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 330.629,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.18923,
    "h": 354.9
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#C8397F
secondary
#8FCEAF
accent
#E09548
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C8397F

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

Preview Lab → · Contrast checker → · Palette generator →

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