#C0398D#C0398D

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

Color values

HEX#C0398D
RGBrgb(192, 57, 141)
HSLhsl(323, 54%, 49%)
HSVhsv(323, 70%, 75%)
CMYKcmyk(0%, 70.3%, 26.6%, 24.7%)
CIE-LABlab(47.05, 60.96, -16.66)
CIE-LCHlch(47.05, 63.20, 344.72°)
OKLaboklab(56.87% 0.1849 -0.044)
OKLCHoklch(56.87% 0.19 346.6)
XYZxyz(28.0103, 16.0588, 26.8187)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398D #39C06C
analogous
#B039C0 #C0398D #C03949
triadic
#C0398D #8DC039 #398DC0
tetradic
#C0398D #C0B039 #39C06C #3949C0
square
#C0398D #C0B039 #39C06C #3949C0
split-complementary
#C0398D #49C039 #39C0B0
monochromatic
#621D48 #912B6A #C0398D #D165A8 #DF94C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0398D#FFFFFF#000000##FFFFFF
##C0398D1.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)
#4A618F
Deuteranopia (green-blind)
#72788A
Tritanopia (blue-blind)
#CD355E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0398d;
/* rgb */ color: rgb(192, 57, 141);
/* oklch */ color: oklch(56.9% 0.190 346.6);
Tailwind
colors: {
  custom: {
    50: '#d77aae',
    500: '#c0398d',
    950: '#000000',
  },
}
SCSS
$custom: #c0398d;
$custom-light: #d77aae;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398d",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 322.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.19004,
    "h": 346.6
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0398D

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

Preview Lab → · Contrast checker → · Palette generator →

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