#C2398C#C2398C

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

Color values

HEX#C2398C
RGBrgb(194, 57, 140)
HSLhsl(324, 55%, 49%)
HSVhsv(324, 71%, 76%)
CMYKcmyk(0%, 70.6%, 27.8%, 23.9%)
CIE-LABlab(47.36, 61.37, -15.56)
CIE-LCHlch(47.36, 63.31, 345.77°)
OKLaboklab(57.14% 0.1865 -0.041)
OKLCHoklch(57.14% 0.191 347.6)
XYZxyz(28.4462, 16.2921, 26.4525)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2398C #39C26F
analogous
#B439C2 #C2398C #C23947
triadic
#C2398C #8CC239 #398CC2
tetradic
#C2398C #C2B439 #39C26F #3947C2
square
#C2398C #C2B439 #39C26F #3947C2
split-complementary
#C2398C #47C239 #39C2B4
monochromatic
#631D48 #932B6A #C2398C #D266A8 #E095C3

Accessibility & contrast

On white

4.93
#C2398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C2398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2398C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2398C#FFFFFF#000000##FFFFFF
##C2398C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618E
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#CF345D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c2398c;
/* rgb */ color: rgb(194, 57, 140);
/* oklch */ color: oklch(57.1% 0.191 347.6);
Tailwind
colors: {
  custom: {
    50: '#d97aad',
    500: '#c2398c',
    950: '#000000',
  },
}
SCSS
$custom: #c2398c;
$custom-light: #d97aad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2398c",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 323.65,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.19094,
    "h": 347.6
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2398C

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

Preview Lab → · Contrast checker → · Palette generator →

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