#C2338B#C2338B

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

Color values

HEX#C2338B
RGBrgb(194, 51, 139)
HSLhsl(323, 58%, 48%)
HSVhsv(323, 74%, 76%)
CMYKcmyk(0%, 73.7%, 28.4%, 23.9%)
CIE-LABlab(46.58, 63.30, -16.13)
CIE-LCHlch(46.58, 65.33, 345.70°)
OKLaboklab(56.56% 0.1927 -0.0425)
OKLCHoklch(56.56% 0.197 347.6)
XYZxyz(28.0935, 15.7042, 25.9728)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2338B #33C26A
analogous
#B133C2 #C2338B #C23343
triadic
#C2338B #8BC233 #338BC2
tetradic
#C2338B #C2B133 #33C26A #3343C2
square
#C2338B #C2B133 #33C26A #3343C2
split-complementary
#C2338B #43C233 #33C2B1
monochromatic
#611A46 #922668 #C2338B #D55EA7 #E18EC1

Accessibility & contrast

On white

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

On black

4.14
#C2338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C2338B#FFFFFF#000000##FFFFFF
##C2338B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#727788
Tritanopia (blue-blind)
#D02D5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c2338b;
/* rgb */ color: rgb(194, 51, 139);
/* oklch */ color: oklch(56.6% 0.197 347.6);
Tailwind
colors: {
  custom: {
    50: '#d978ad',
    500: '#c2338b',
    950: '#000000',
  },
}
SCSS
$custom: #c2338b;
$custom-light: #d978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2338b",
  "rgb": {
    "r": 194,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 323.077,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.19731,
    "h": 347.6
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2338B

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

Preview Lab → · Contrast checker → · Palette generator →

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