#C938AC#C938AC

#C938AC is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.217 H 337.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C938AC
RGBrgb(201, 56, 172)
HSLhsl(312, 57%, 50%)
HSVhsv(312, 72%, 79%)
CMYKcmyk(0%, 72.1%, 14.4%, 21.2%)
CIE-LABlab(49.77, 67.74, -30.80)
CIE-LCHlch(49.77, 74.42, 335.55°)
OKLaboklab(59.56% 0.1997 -0.0837)
OKLCHoklch(59.56% 0.217 337.3)
XYZxyz(32.9486, 18.2274, 40.8047)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938AC #38C955
analogous
#9D38C9 #C938AC #C93863
triadic
#C938AC #ACC938 #38ACC9
tetradic
#C938AC #C99D38 #38C955 #3863C9
square
#C938AC #C99D38 #38C955 #3863C9
split-complementary
#C938AC #63C938 #38C99D
monochromatic
#6A1D5A #9A2A84 #C938AC #D668C0 #E398D4

Accessibility & contrast

On white

4.52
#C938AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C938AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938AC#FFFFFF#000000##000000
##C938AC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#6E7EA9
Tritanopia (blue-blind)
#D4406E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c938ac;
/* rgb */ color: rgb(201, 56, 172);
/* oklch */ color: oklch(59.6% 0.217 337.3);
Tailwind
colors: {
  custom: {
    50: '#dd7cc5',
    500: '#c938ac',
    950: '#000000',
  },
}
SCSS
$custom: #c938ac;
$custom-light: #dd7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c938ac",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 312,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.21652,
    "h": 337.3
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#C938AC
secondary
#8ECF9B
accent
#E16647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C938AC

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

Preview Lab → · Contrast checker → · Palette generator →

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