#C23898#C23898

#C23898 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.6% C 0.199 H 342.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C23898
RGBrgb(194, 56, 152)
HSLhsl(318, 55%, 49%)
HSVhsv(318, 71%, 76%)
CMYKcmyk(0%, 71.1%, 21.6%, 23.9%)
CIE-LABlab(47.71, 63.27, -22.22)
CIE-LCHlch(47.71, 67.06, 340.65°)
OKLaboklab(57.56% 0.1901 -0.0595)
OKLCHoklch(57.56% 0.199 342.6)
XYZxyz(29.3308, 16.5676, 31.3529)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23898 #38C262
analogous
#A738C2 #C23898 #C23853
triadic
#C23898 #98C238 #3898C2
tetradic
#C23898 #C2A738 #38C262 #3853C2
square
#C23898 #C2A738 #38C262 #3853C2
split-complementary
#C23898 #53C238 #38C2A7
monochromatic
#631D4E #932A73 #C23898 #D265B1 #E094C9

Accessibility & contrast

On white

4.87
#C23898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C23898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23898
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23898#FFFFFF#000000##FFFFFF
##C238981.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#707995
Tritanopia (blue-blind)
#CE3963
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c23898;
/* rgb */ color: rgb(194, 56, 152);
/* oklch */ color: oklch(57.6% 0.199 342.6);
Tailwind
colors: {
  custom: {
    50: '#d87ab6',
    500: '#c23898',
    950: '#000000',
  },
}
SCSS
$custom: #c23898;
$custom-light: #d87ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c23898",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 318.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.19918,
    "h": 342.6
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#C23898
secondary
#8ACB9E
accent
#DF7749
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23898

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

Preview Lab → · Contrast checker → · Palette generator →

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