#C0338F#C0338F

#C0338F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.198 H 345.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C0338F
RGBrgb(192, 51, 143)
HSLhsl(321, 58%, 48%)
HSVhsv(321, 73%, 75%)
CMYKcmyk(0%, 73.4%, 25.5%, 24.7%)
CIE-LABlab(46.39, 63.29, -18.87)
CIE-LCHlch(46.39, 66.04, 343.39°)
OKLaboklab(56.41% 0.1917 -0.0502)
OKLCHoklch(56.41% 0.198 345.3)
XYZxyz(27.8812, 15.5603, 27.5164)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0338F #33C064
analogous
#AA33C0 #C0338F #C03348
triadic
#C0338F #8FC033 #338FC0
tetradic
#C0338F #C0AA33 #33C064 #3348C0
square
#C0338F #C0AA33 #33C064 #3348C0
split-complementary
#C0338F #48C033 #33C0AA
monochromatic
#5F1947 #90266B #C0338F #D45CAA #E18DC3

Accessibility & contrast

On white

5.11
#C0338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C0338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0338F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0338F#FFFFFF#000000##FFFFFF
##C0338F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F92
Deuteranopia (green-blind)
#6F778C
Tritanopia (blue-blind)
#CD305D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0338f;
/* rgb */ color: rgb(192, 51, 143);
/* oklch */ color: oklch(56.4% 0.198 345.3);
Tailwind
colors: {
  custom: {
    50: '#d778b0',
    500: '#c0338f',
    950: '#000000',
  },
}
SCSS
$custom: #c0338f;
$custom-light: #d778b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0338f",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 320.851,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.19816,
    "h": 345.3
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#C0338F
secondary
#84CB9D
accent
#E17C47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0338F

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

Preview Lab → · Contrast checker → · Palette generator →

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