#C3398B#C3398B

#C3398B is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.191 H 348.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C3398B
RGBrgb(195, 57, 139)
HSLhsl(324, 55%, 49%)
HSVhsv(324, 71%, 76%)
CMYKcmyk(0%, 70.8%, 28.7%, 23.5%)
CIE-LABlab(47.49, 61.51, -14.74)
CIE-LCHlch(47.49, 63.25, 346.52°)
OKLaboklab(57.26% 0.1872 -0.0387)
OKLCHoklch(57.26% 0.191 348.3)
XYZxyz(28.6304, 16.3956, 26.0780)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3398B #39C371
analogous
#B639C3 #C3398B #C33946
triadic
#C3398B #8BC339 #398BC3
tetradic
#C3398B #C3B639 #39C371 #3946C3
square
#C3398B #C3B639 #39C371 #3946C3
split-complementary
#C3398B #46C339 #39C3B6
monochromatic
#641D47 #942B69 #C3398B #D267A7 #E096C2

Accessibility & contrast

On white

4.91
#C3398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C3398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C3398B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3398B#FFFFFF#000000##FFFFFF
##C3398B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618D
Deuteranopia (green-blind)
#757988
Tritanopia (blue-blind)
#D1335D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c3398b;
/* rgb */ color: rgb(195, 57, 139);
/* oklch */ color: oklch(57.3% 0.191 348.3);
Tailwind
colors: {
  custom: {
    50: '#d97bad',
    500: '#c3398b',
    950: '#000000',
  },
}
SCSS
$custom: #c3398b;
$custom-light: #d97bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c3398b",
  "rgb": {
    "r": 195,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 324.348,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.19114,
    "h": 348.3
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#C3398B
secondary
#8CCCA6
accent
#DE864A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C3398B

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

Preview Lab → · Contrast checker → · Palette generator →

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