#C2338F#C2338F

#C2338F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.7% C 0.200 H 345.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C2338F
RGBrgb(194, 51, 143)
HSLhsl(321, 58%, 48%)
HSVhsv(321, 74%, 76%)
CMYKcmyk(0%, 73.7%, 26.3%, 23.9%)
CIE-LABlab(46.74, 63.80, -18.31)
CIE-LCHlch(46.74, 66.37, 343.99°)
OKLaboklab(56.73% 0.1935 -0.0486)
OKLCHoklch(56.73% 0.2 345.9)
XYZxyz(28.3911, 15.8232, 27.5403)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2338F #33C266
analogous
#AD33C2 #C2338F #C23347
triadic
#C2338F #8FC233 #338FC2
tetradic
#C2338F #C2AD33 #33C266 #3347C2
square
#C2338F #C2AD33 #33C266 #3347C2
split-complementary
#C2338F #47C233 #33C2AD
monochromatic
#611A48 #92266B #C2338F #D55EAA #E18EC4

Accessibility & contrast

On white

5.04
#C2338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C2338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2338F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2338F#FFFFFF#000000##FFFFFF
##C2338F1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#CF305D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c2338f;
/* rgb */ color: rgb(194, 51, 143);
/* oklch */ color: oklch(56.7% 0.200 345.9);
Tailwind
colors: {
  custom: {
    50: '#d978b0',
    500: '#c2338f',
    950: '#000000',
  },
}
SCSS
$custom: #c2338f;
$custom-light: #d978b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c2338f",
  "rgb": {
    "r": 194,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 321.399,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.19953,
    "h": 345.9
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#C2338F
secondary
#85CC9E
accent
#E27E46
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2338F

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

Preview Lab → · Contrast checker → · Palette generator →

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