#C2338D#C2338D

#C2338D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.198 H 346.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C2338D
RGBrgb(194, 51, 141)
HSLhsl(322, 58%, 48%)
HSVhsv(322, 74%, 76%)
CMYKcmyk(0%, 73.7%, 27.3%, 23.9%)
CIE-LABlab(46.66, 63.55, -17.22)
CIE-LCHlch(46.66, 65.84, 344.84°)
OKLaboklab(56.65% 0.1931 -0.0455)
OKLCHoklch(56.65% 0.198 346.7)
XYZxyz(28.2410, 15.7632, 26.7495)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2338D #33C268
analogous
#AF33C2 #C2338D #C23345
triadic
#C2338D #8DC233 #338DC2
tetradic
#C2338D #C2AF33 #33C268 #3345C2
square
#C2338D #C2AF33 #33C268 #3345C2
split-complementary
#C2338D #45C233 #33C2AF
monochromatic
#611A47 #92266A #C2338D #D55EA8 #E18EC2

Accessibility & contrast

On white

5.06
#C2338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C2338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2338D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2338D#FFFFFF#000000##FFFFFF
##C2338D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#71778A
Tritanopia (blue-blind)
#CF2E5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c2338d;
/* rgb */ color: rgb(194, 51, 141);
/* oklch */ color: oklch(56.6% 0.198 346.7);
Tailwind
colors: {
  custom: {
    50: '#d978ae',
    500: '#c2338d',
    950: '#000000',
  },
}
SCSS
$custom: #c2338d;
$custom-light: #d978ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c2338d",
  "rgb": {
    "r": 194,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 322.238,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.19841,
    "h": 346.7
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#C2338D
secondary
#85CC9F
accent
#E28046
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2338D

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

Preview Lab → · Contrast checker → · Palette generator →

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