#C0398B#C0398B

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

Color values

HEX#C0398B
RGBrgb(192, 57, 139)
HSLhsl(324, 54%, 49%)
HSVhsv(324, 70%, 75%)
CMYKcmyk(0%, 70.3%, 27.6%, 24.7%)
CIE-LABlab(46.97, 60.71, -15.57)
CIE-LCHlch(46.97, 62.67, 345.61°)
OKLaboklab(56.78% 0.1844 -0.041)
OKLCHoklch(56.78% 0.189 347.5)
XYZxyz(27.8628, 15.9998, 26.0420)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0398B #39C06E
analogous
#B239C0 #C0398B #C03947
triadic
#C0398B #8BC039 #398BC0
tetradic
#C0398B #C0B239 #39C06E #3947C0
square
#C0398B #C0B239 #39C06E #3947C0
split-complementary
#C0398B #47C039 #39C0B2
monochromatic
#621D47 #912B69 #C0398B #D165A7 #DF94C2

Accessibility & contrast

On white

5.00
#C0398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C0398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0398B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0398B#FFFFFF#000000##FFFFFF
##C0398B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#737888
Tritanopia (blue-blind)
#CD345D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0398b;
/* rgb */ color: rgb(192, 57, 139);
/* oklch */ color: oklch(56.8% 0.189 347.5);
Tailwind
colors: {
  custom: {
    50: '#d77aad',
    500: '#c0398b',
    950: '#000000',
  },
}
SCSS
$custom: #c0398b;
$custom-light: #d77aad;
$custom-dark: #000000;
JSON
{
  "hex": "#c0398b",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 323.556,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.18891,
    "h": 347.5
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0398B

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

Preview Lab → · Contrast checker → · Palette generator →

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