#C0398E#C0398E

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

Color values

HEX#C0398E
RGBrgb(192, 57, 142)
HSLhsl(322, 54%, 49%)
HSVhsv(322, 70%, 75%)
CMYKcmyk(0%, 70.3%, 26%, 24.7%)
CIE-LABlab(47.09, 61.09, -17.20)
CIE-LCHlch(47.09, 63.46, 344.27°)
OKLaboklab(56.91% 0.1851 -0.0455)
OKLCHoklch(56.91% 0.191 346.2)
XYZxyz(28.0850, 16.0887, 27.2123)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398E #39C06B
analogous
#AF39C0 #C0398E #C0394B
triadic
#C0398E #8EC039 #398EC0
tetradic
#C0398E #C0AF39 #39C06B #394BC0
square
#C0398E #C0AF39 #39C06B #394BC0
split-complementary
#C0398E #4BC039 #39C0AF
monochromatic
#621D48 #912B6B #C0398E #D165A9 #DF94C3

Accessibility & contrast

On white

4.98
#C0398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0398E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0398E#FFFFFF#000000##FFFFFF
##C0398E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#CD365E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0398e;
/* rgb */ color: rgb(192, 57, 142);
/* oklch */ color: oklch(56.9% 0.191 346.2);
Tailwind
colors: {
  custom: {
    50: '#d77aaf',
    500: '#c0398e',
    950: '#000000',
  },
}
SCSS
$custom: #c0398e;
$custom-light: #d77aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398e",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 322.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.1906,
    "h": 346.2
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0398E

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

Preview Lab → · Contrast checker → · Palette generator →

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