#C0338A#C0338A

#C0338A is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.195 H 347.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C0338A
RGBrgb(192, 51, 138)
HSLhsl(323, 58%, 48%)
HSVhsv(323, 73%, 75%)
CMYKcmyk(0%, 73.4%, 28.1%, 24.7%)
CIE-LABlab(46.19, 62.67, -16.16)
CIE-LCHlch(46.19, 64.72, 345.54°)
OKLaboklab(56.2% 0.1906 -0.0426)
OKLCHoklch(56.2% 0.195 347.4)
XYZxyz(27.5108, 15.4121, 25.5659)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0338A #33C069
analogous
#B033C0 #C0338A #C03343
triadic
#C0338A #8AC033 #338AC0
tetradic
#C0338A #C0B033 #33C069 #3343C0
square
#C0338A #C0B033 #33C069 #3343C0
split-complementary
#C0338A #43C033 #33C0B0
monochromatic
#5F1944 #902667 #C0338A #D45CA6 #E18DC1

Accessibility & contrast

On white

5.14
#C0338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C0338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0338A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0338A#FFFFFF#000000##FFFFFF
##C0338A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#717687
Tritanopia (blue-blind)
#CD2E5A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0338a;
/* rgb */ color: rgb(192, 51, 138);
/* oklch */ color: oklch(56.2% 0.195 347.4);
Tailwind
colors: {
  custom: {
    50: '#d778ac',
    500: '#c0338a',
    950: '#000000',
  },
}
SCSS
$custom: #c0338a;
$custom-light: #d778ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c0338a",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 322.979,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.19535,
    "h": 347.4
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#C0338A
secondary
#84CB9F
accent
#E18247
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0338A

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

Preview Lab → · Contrast checker → · Palette generator →

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