#C938AE#C938AE

#C938AE is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.218 H 336.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C938AE
RGBrgb(201, 56, 174)
HSLhsl(311, 57%, 50%)
HSVhsv(311, 72%, 79%)
CMYKcmyk(0%, 72.1%, 13.4%, 21.2%)
CIE-LABlab(49.86, 68.03, -31.83)
CIE-LCHlch(49.86, 75.11, 334.93°)
OKLaboklab(59.66% 0.1999 -0.0866)
OKLCHoklch(59.66% 0.218 336.6)
XYZxyz(33.1421, 18.3049, 41.8239)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938AE #38C953
analogous
#9B38C9 #C938AE #C93866
triadic
#C938AE #AEC938 #38AEC9
tetradic
#C938AE #C99B38 #38C953 #3866C9
square
#C938AE #C99B38 #38C953 #3866C9
split-complementary
#C938AE #66C938 #38C99B
monochromatic
#6A1D5C #9A2A85 #C938AE #D668C2 #E398D5

Accessibility & contrast

On white

4.51
#C938AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C938AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938AE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938AE#FFFFFF#000000##000000
##C938AE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B1
Deuteranopia (green-blind)
#6D7EAB
Tritanopia (blue-blind)
#D3416F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c938ae;
/* rgb */ color: rgb(201, 56, 174);
/* oklch */ color: oklch(59.7% 0.218 336.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cc6',
    500: '#c938ae',
    950: '#000000',
  },
}
SCSS
$custom: #c938ae;
$custom-light: #dd7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c938ae",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 311.172,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.21788,
    "h": 336.6
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#C938AE
secondary
#8ECF9A
accent
#E16447
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C938AE

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

Preview Lab → · Contrast checker → · Palette generator →

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