#C0398C#C0398C

#C0398C is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.189 H 347.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C0398C
RGBrgb(192, 57, 140)
HSLhsl(323, 54%, 49%)
HSVhsv(323, 70%, 75%)
CMYKcmyk(0%, 70.3%, 27.1%, 24.7%)
CIE-LABlab(47.01, 60.83, -16.12)
CIE-LCHlch(47.01, 62.93, 345.16°)
OKLaboklab(56.82% 0.1846 -0.0425)
OKLCHoklch(56.82% 0.189 347)
XYZxyz(27.9362, 16.0292, 26.4286)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398C #39C06D
analogous
#B139C0 #C0398C #C03949
triadic
#C0398C #8CC039 #398CC0
tetradic
#C0398C #C0B139 #39C06D #3949C0
square
#C0398C #C0B139 #39C06D #3949C0
split-complementary
#C0398C #49C039 #39C0B1
monochromatic
#621D47 #912B6A #C0398C #D165A8 #DF94C2

Accessibility & contrast

On white

4.99
#C0398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C0398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0398C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0398C#FFFFFF#000000##FFFFFF
##C0398C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618E
Deuteranopia (green-blind)
#727889
Tritanopia (blue-blind)
#CD355D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0398c;
/* rgb */ color: rgb(192, 57, 140);
/* oklch */ color: oklch(56.8% 0.189 347.0);
Tailwind
colors: {
  custom: {
    50: '#d77aad',
    500: '#c0398c',
    950: '#000000',
  },
}
SCSS
$custom: #c0398c;
$custom-light: #d77aad;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398c",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 323.111,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.18947,
    "h": 347
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#C0398C
secondary
#8ACBA3
accent
#DE834A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0398C

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

Preview Lab → · Contrast checker → · Palette generator →

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