#C2398B#C2398B

#C2398B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.190 H 348.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C2398B
RGBrgb(194, 57, 139)
HSLhsl(324, 55%, 49%)
HSVhsv(324, 71%, 76%)
CMYKcmyk(0%, 70.6%, 28.4%, 23.9%)
CIE-LABlab(47.32, 61.24, -15.02)
CIE-LCHlch(47.32, 63.06, 346.22°)
OKLaboklab(57.1% 0.1863 -0.0395)
OKLCHoklch(57.1% 0.19 348)
XYZxyz(28.3728, 16.2628, 26.0659)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2398B #39C270
analogous
#B539C2 #C2398B #C23946
triadic
#C2398B #8BC239 #398BC2
tetradic
#C2398B #C2B539 #39C270 #3946C2
square
#C2398B #C2B539 #39C270 #3946C2
split-complementary
#C2398B #46C239 #39C2B5
monochromatic
#631D47 #932B69 #C2398B #D266A7 #E095C2

Accessibility & contrast

On white

4.94
#C2398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C2398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2398B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2398B#FFFFFF#000000##FFFFFF
##C2398B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#D0345D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c2398b;
/* rgb */ color: rgb(194, 57, 139);
/* oklch */ color: oklch(57.1% 0.190 348.0);
Tailwind
colors: {
  custom: {
    50: '#d97aad',
    500: '#c2398b',
    950: '#000000',
  },
}
SCSS
$custom: #c2398b;
$custom-light: #d97aad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2398b",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 324.088,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.1904,
    "h": 348
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#C2398B
secondary
#8BCBA5
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2398B

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

Preview Lab → · Contrast checker → · Palette generator →

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