#C0398A#C0398A

#C0398A is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.7% C 0.188 H 347.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C0398A
RGBrgb(192, 57, 138)
HSLhsl(324, 54%, 49%)
HSVhsv(324, 70%, 75%)
CMYKcmyk(0%, 70.3%, 28.1%, 24.7%)
CIE-LABlab(46.94, 60.58, -15.02)
CIE-LCHlch(46.94, 62.42, 346.07°)
OKLaboklab(56.74% 0.1842 -0.0395)
OKLCHoklch(56.74% 0.188 347.9)
XYZxyz(27.7901, 15.9707, 25.6590)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398A #39C06F
analogous
#B339C0 #C0398A #C03947
triadic
#C0398A #8AC039 #398AC0
tetradic
#C0398A #C0B339 #39C06F #3947C0
square
#C0398A #C0B339 #39C06F #3947C0
split-complementary
#C0398A #47C039 #39C0B3
monochromatic
#621D46 #912B68 #C0398A #D165A6 #DF94C1

Accessibility & contrast

On white

5.01
#C0398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C0398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0398A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0398A#FFFFFF#000000##FFFFFF
##C0398A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#737887
Tritanopia (blue-blind)
#CD345C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0398a;
/* rgb */ color: rgb(192, 57, 138);
/* oklch */ color: oklch(56.7% 0.188 347.9);
Tailwind
colors: {
  custom: {
    50: '#d77aac',
    500: '#c0398a',
    950: '#000000',
  },
}
SCSS
$custom: #c0398a;
$custom-light: #d77aac;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398a",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 324,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.18837,
    "h": 347.9
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#C0398A
secondary
#8ACBA4
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0398A

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

Preview Lab → · Contrast checker → · Palette generator →

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