#C938AB#C938AB

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

Color values

HEX#C938AB
RGBrgb(201, 56, 171)
HSLhsl(312, 57%, 50%)
HSVhsv(312, 72%, 79%)
CMYKcmyk(0%, 72.1%, 14.9%, 21.2%)
CIE-LABlab(49.72, 67.60, -30.28)
CIE-LCHlch(49.72, 74.07, 335.87°)
OKLaboklab(59.51% 0.1996 -0.0822)
OKLCHoklch(59.51% 0.216 337.6)
XYZxyz(32.8529, 18.1892, 40.3008)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938AB #38C956
analogous
#9F38C9 #C938AB #C93862
triadic
#C938AB #ABC938 #38ABC9
tetradic
#C938AB #C99F38 #38C956 #3862C9
square
#C938AB #C99F38 #38C956 #3862C9
split-complementary
#C938AB #62C938 #38C99F
monochromatic
#6A1D5A #9A2A83 #C938AB #D668BF #E398D4

Accessibility & contrast

On white

4.53
#C938AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C938AB#FFFFFF#000000##000000
##C938AB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6E7EA8
Tritanopia (blue-blind)
#D4406D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c938ab;
/* rgb */ color: rgb(201, 56, 171);
/* oklch */ color: oklch(59.5% 0.216 337.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cc4',
    500: '#c938ab',
    950: '#000000',
  },
}
SCSS
$custom: #c938ab;
$custom-light: #dd7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c938ab",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 312.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.21585,
    "h": 337.6
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#C938AB
secondary
#8ECF9B
accent
#E16747
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #C938AB

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

Preview Lab → · Contrast checker → · Palette generator →

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