#C2298A#C2298A

#C2298A is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.8% C 0.207 H 347.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C2298A
RGBrgb(194, 41, 138)
HSLhsl(322, 65%, 46%)
HSVhsv(322, 79%, 76%)
CMYKcmyk(0%, 78.9%, 28.9%, 23.9%)
CIE-LABlab(45.49, 66.19, -17.20)
CIE-LCHlch(45.49, 68.39, 345.43°)
OKLaboklab(55.75% 0.2018 -0.0454)
OKLCHoklch(55.75% 0.207 347.3)
XYZxyz(27.6299, 14.8934, 25.4595)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2298A #29C261
analogous
#AD29C2 #C2298A #C2293D
triadic
#C2298A #8AC229 #298AC2
tetradic
#C2298A #C2AD29 #29C261 #293DC2
square
#C2298A #C2AD29 #29C261 #293DC2
split-complementary
#C2298A #3DC229 #29C2AD
monochromatic
#5D1442 #8F1E66 #C2298A #DA4EA7 #E481C0

Accessibility & contrast

On white

5.28
#C2298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#C2298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2298A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2298A#FFFFFF#000000##FFFFFF
##C2298A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#D02257
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c2298a;
/* rgb */ color: rgb(194, 41, 138);
/* oklch */ color: oklch(55.8% 0.207 347.3);
Tailwind
colors: {
  custom: {
    50: '#d974ac',
    500: '#c2298a',
    950: '#000000',
  },
}
SCSS
$custom: #c2298a;
$custom-light: #d974ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2298a",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 321.961,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.20688,
    "h": 347.3
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#C2298A
secondary
#7ACD98
accent
#E87D40
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C2298A

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

Preview Lab → · Contrast checker → · Palette generator →

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