#C2338E#C2338E

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

Color values

HEX#C2338E
RGBrgb(194, 51, 142)
HSLhsl(322, 58%, 48%)
HSVhsv(322, 74%, 76%)
CMYKcmyk(0%, 73.7%, 26.8%, 23.9%)
CIE-LABlab(46.70, 63.67, -17.77)
CIE-LCHlch(46.70, 66.10, 344.41°)
OKLaboklab(56.69% 0.1933 -0.047)
OKLCHoklch(56.69% 0.199 346.3)
XYZxyz(28.3157, 15.7931, 27.1431)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2338E #33C267
analogous
#AE33C2 #C2338E #C23347
triadic
#C2338E #8EC233 #338EC2
tetradic
#C2338E #C2AE33 #33C267 #3347C2
square
#C2338E #C2AE33 #33C267 #3347C2
split-complementary
#C2338E #47C233 #33C2AE
monochromatic
#611A47 #92266B #C2338E #D55EA9 #E18EC3

Accessibility & contrast

On white

5.05
#C2338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C2338E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2338E#FFFFFF#000000##FFFFFF
##C2338E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#CF2F5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c2338e;
/* rgb */ color: rgb(194, 51, 142);
/* oklch */ color: oklch(56.7% 0.199 346.3);
Tailwind
colors: {
  custom: {
    50: '#d978af',
    500: '#c2338e',
    950: '#000000',
  },
}
SCSS
$custom: #c2338e;
$custom-light: #d978af;
$custom-dark: #000000;
JSON
{
  "hex": "#c2338e",
  "rgb": {
    "r": 194,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 321.818,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.19896,
    "h": 346.3
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2338E

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

Preview Lab → · Contrast checker → · Palette generator →

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