#C8339F#C8339F

#C8339F is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.213 H 341.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C8339F
RGBrgb(200, 51, 159)
HSLhsl(317, 59%, 49%)
HSVhsv(317, 75%, 78%)
CMYKcmyk(0%, 74.5%, 20.5%, 21.6%)
CIE-LABlab(48.45, 67.33, -25.17)
CIE-LCHlch(48.45, 71.88, 339.50°)
OKLaboklab(58.39% 0.2019 -0.0677)
OKLCHoklch(58.39% 0.213 341.5)
XYZxyz(31.2623, 17.1534, 34.4587)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8339F #33C85C
analogous
#A733C8 #C8339F #C83355
triadic
#C8339F #9FC833 #339FC8
tetradic
#C8339F #C8A733 #33C85C #3355C8
square
#C8339F #C8A733 #33C85C #3355C8
split-complementary
#C8339F #55C833 #33C8A7
monochromatic
#661A51 #972778 #C8339F #D761B7 #E392CD

Accessibility & contrast

On white

4.74
#C8339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C8339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8339F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8339F#FFFFFF#000000##FFFFFF
##C8339F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A2
Deuteranopia (green-blind)
#707C9C
Tritanopia (blue-blind)
#D43665
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c8339f;
/* rgb */ color: rgb(200, 51, 159);
/* oklch */ color: oklch(58.4% 0.213 341.5);
Tailwind
colors: {
  custom: {
    50: '#dd79bb',
    500: '#c8339f',
    950: '#000000',
  },
}
SCSS
$custom: #c8339f;
$custom-light: #dd79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8339f",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 316.51,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.21292,
    "h": 341.5
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#C8339F
secondary
#89CE9C
accent
#E37145
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C8339F

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

Preview Lab → · Contrast checker → · Palette generator →

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