#C0398F#C0398F

#C0398F is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.191 H 345.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C0398F
RGBrgb(192, 57, 143)
HSLhsl(322, 54%, 49%)
HSVhsv(322, 70%, 75%)
CMYKcmyk(0%, 70.3%, 25.5%, 24.7%)
CIE-LABlab(47.13, 61.21, -17.74)
CIE-LCHlch(47.13, 63.73, 343.83°)
OKLaboklab(56.95% 0.1853 -0.0471)
OKLCHoklch(56.95% 0.191 345.8)
XYZxyz(28.1604, 16.1189, 27.6095)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398F #39C06A
analogous
#AE39C0 #C0398F #C0394C
triadic
#C0398F #8FC039 #398FC0
tetradic
#C0398F #C0AE39 #39C06A #394CC0
square
#C0398F #C0AE39 #39C06A #394CC0
split-complementary
#C0398F #4CC039 #39C0AE
monochromatic
#621D49 #912B6C #C0398F #D165AA #DF94C4

Accessibility & contrast

On white

4.97
#C0398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C0398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0398F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0398F#FFFFFF#000000##FFFFFF
##C0398F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#CD365F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0398f;
/* rgb */ color: rgb(192, 57, 143);
/* oklch */ color: oklch(56.9% 0.191 345.8);
Tailwind
colors: {
  custom: {
    50: '#d77ab0',
    500: '#c0398f',
    950: '#000000',
  },
}
SCSS
$custom: #c0398f;
$custom-light: #d77ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398f",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 321.778,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.19118,
    "h": 345.8
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#C0398F
secondary
#8ACBA2
accent
#DE804A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0398F

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

Preview Lab → · Contrast checker → · Palette generator →

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