#C2338C#C2338C

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

Color values

HEX#C2338C
RGBrgb(194, 51, 140)
HSLhsl(323, 58%, 48%)
HSVhsv(323, 74%, 76%)
CMYKcmyk(0%, 73.7%, 27.8%, 23.9%)
CIE-LABlab(46.62, 63.43, -16.68)
CIE-LCHlch(46.62, 65.58, 345.27°)
OKLaboklab(56.61% 0.1929 -0.044)
OKLCHoklch(56.61% 0.198 347.1)
XYZxyz(28.1669, 15.7336, 26.3594)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2338C #33C269
analogous
#B033C2 #C2338C #C23345
triadic
#C2338C #8CC233 #338CC2
tetradic
#C2338C #C2B033 #33C269 #3345C2
square
#C2338C #C2B033 #33C269 #3345C2
split-complementary
#C2338C #45C233 #33C2B0
monochromatic
#611A46 #922669 #C2338C #D55EA8 #E18EC2

Accessibility & contrast

On white

5.07
#C2338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C2338C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2338C#FFFFFF#000000##FFFFFF
##C2338C1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8E
Deuteranopia (green-blind)
#727789
Tritanopia (blue-blind)
#D02E5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c2338c;
/* rgb */ color: rgb(194, 51, 140);
/* oklch */ color: oklch(56.6% 0.198 347.1);
Tailwind
colors: {
  custom: {
    50: '#d978ad',
    500: '#c2338c',
    950: '#000000',
  },
}
SCSS
$custom: #c2338c;
$custom-light: #d978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2338c",
  "rgb": {
    "r": 194,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 322.657,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.19785,
    "h": 347.1
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#C2338C
secondary
#85CCA0
accent
#E28146
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2338C

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

Preview Lab → · Contrast checker → · Palette generator →

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