#C2398A#C2398A

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

Color values

HEX#C2398A
RGBrgb(194, 57, 138)
HSLhsl(325, 55%, 49%)
HSVhsv(325, 71%, 76%)
CMYKcmyk(0%, 70.6%, 28.9%, 23.9%)
CIE-LABlab(47.28, 61.12, -14.47)
CIE-LCHlch(47.28, 62.81, 346.68°)
OKLaboklab(57.06% 0.186 -0.038)
OKLCHoklch(57.06% 0.19 348.5)
XYZxyz(28.3001, 16.2337, 25.6829)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2398A #39C271
analogous
#B639C2 #C2398A #C23945
triadic
#C2398A #8AC239 #398AC2
tetradic
#C2398A #C2B639 #39C271 #3945C2
square
#C2398A #C2B639 #39C271 #3945C2
split-complementary
#C2398A #45C239 #39C2B6
monochromatic
#631D47 #932B68 #C2398A #D266A6 #E095C2

Accessibility & contrast

On white

4.95
#C2398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C2398A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2398A#FFFFFF#000000##FFFFFF
##C2398A1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#747987
Tritanopia (blue-blind)
#D0335C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c2398a;
/* rgb */ color: rgb(194, 57, 138);
/* oklch */ color: oklch(57.1% 0.190 348.5);
Tailwind
colors: {
  custom: {
    50: '#d97aac',
    500: '#c2398a',
    950: '#000000',
  },
}
SCSS
$custom: #c2398a;
$custom-light: #d97aac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2398a",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 324.526,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.18986,
    "h": 348.5
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2398A

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

Preview Lab → · Contrast checker → · Palette generator →

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