#C2398E#C2398E

#C2398E is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.192 H 346.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C2398E
RGBrgb(194, 57, 142)
HSLhsl(323, 55%, 49%)
HSVhsv(323, 71%, 76%)
CMYKcmyk(0%, 70.6%, 26.8%, 23.9%)
CIE-LABlab(47.43, 61.62, -16.65)
CIE-LCHlch(47.43, 63.83, 344.88°)
OKLaboklab(57.22% 0.187 -0.044)
OKLCHoklch(57.22% 0.192 346.8)
XYZxyz(28.5950, 16.3516, 27.2362)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2398E #39C26D
analogous
#B239C2 #C2398E #C23949
triadic
#C2398E #8EC239 #398EC2
tetradic
#C2398E #C2B239 #39C26D #3949C2
square
#C2398E #C2B239 #39C26D #3949C2
split-complementary
#C2398E #49C239 #39C2B2
monochromatic
#631D49 #932B6B #C2398E #D266A9 #E095C4

Accessibility & contrast

On white

4.92
#C2398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C2398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2398E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2398E#FFFFFF#000000##FFFFFF
##C2398E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6190
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#CF355E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c2398e;
/* rgb */ color: rgb(194, 57, 142);
/* oklch */ color: oklch(57.2% 0.192 346.8);
Tailwind
colors: {
  custom: {
    50: '#d97baf',
    500: '#c2398e',
    950: '#000000',
  },
}
SCSS
$custom: #c2398e;
$custom-light: #d97baf;
$custom-dark: #000000;
JSON
{
  "hex": "#c2398e",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 322.774,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.19206,
    "h": 346.8
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#C2398E
secondary
#8BCBA4
accent
#DE824A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2398E

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

Preview Lab → · Contrast checker → · Palette generator →

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