#C938AA#C938AA

#C938AA is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.215 H 338.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C938AA
RGBrgb(201, 56, 170)
HSLhsl(313, 57%, 50%)
HSVhsv(313, 72%, 79%)
CMYKcmyk(0%, 72.1%, 15.4%, 21.2%)
CIE-LABlab(49.68, 67.46, -29.76)
CIE-LCHlch(49.68, 73.73, 336.19°)
OKLaboklab(59.47% 0.1994 -0.0807)
OKLCHoklch(59.47% 0.215 338)
XYZxyz(32.7580, 18.1512, 39.8007)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938AA #38C957
analogous
#A038C9 #C938AA #C93861
triadic
#C938AA #AAC938 #38AAC9
tetradic
#C938AA #C9A038 #38C957 #3861C9
square
#C938AA #C9A038 #38C957 #3861C9
split-complementary
#C938AA #61C938 #38C9A0
monochromatic
#6A1D59 #9A2A82 #C938AA #D668BF #E398D3

Accessibility & contrast

On white

4.54
#C938AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C938AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938AA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938AA#FFFFFF#000000##000000
##C938AA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#D43F6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c938aa;
/* rgb */ color: rgb(201, 56, 170);
/* oklch */ color: oklch(59.5% 0.215 338.0);
Tailwind
colors: {
  custom: {
    50: '#dd7cc3',
    500: '#c938aa',
    950: '#000000',
  },
}
SCSS
$custom: #c938aa;
$custom-light: #dd7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c938aa",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 312.828,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.21518,
    "h": 338
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#C938AA
secondary
#8ECF9C
accent
#E16847
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #C938AA

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

Preview Lab → · Contrast checker → · Palette generator →

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