#C2298B#C2298B

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

Color values

HEX#C2298B
RGBrgb(194, 41, 139)
HSLhsl(322, 65%, 46%)
HSVhsv(322, 79%, 76%)
CMYKcmyk(0%, 78.9%, 28.4%, 23.9%)
CIE-LABlab(45.53, 66.30, -17.75)
CIE-LCHlch(45.53, 68.64, 345.02°)
OKLaboklab(55.8% 0.202 -0.0469)
OKLCHoklch(55.8% 0.207 346.9)
XYZxyz(27.7026, 14.9225, 25.8425)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2298B #29C260
analogous
#AC29C2 #C2298B #C2293E
triadic
#C2298B #8BC229 #298BC2
tetradic
#C2298B #C2AC29 #29C260 #293EC2
square
#C2298B #C2AC29 #29C260 #293EC2
split-complementary
#C2298B #3EC229 #29C2AC
monochromatic
#5D1443 #8F1E67 #C2298B #DA4EA8 #E481C1

Accessibility & contrast

On white

5.27
#C2298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C2298B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2298B#FFFFFF#000000##FFFFFF
##C2298B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8E
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#D02357
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c2298b;
/* rgb */ color: rgb(194, 41, 139);
/* oklch */ color: oklch(55.8% 0.207 346.9);
Tailwind
colors: {
  custom: {
    50: '#d974ad',
    500: '#c2298b',
    950: '#000000',
  },
}
SCSS
$custom: #c2298b;
$custom-light: #d974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2298b",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 321.569,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.20741,
    "h": 346.9
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2298B

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

Preview Lab → · Contrast checker → · Palette generator →

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