#C938AF#C938AF

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

Color values

HEX#C938AF
RGBrgb(201, 56, 175)
HSLhsl(311, 57%, 50%)
HSVhsv(311, 72%, 79%)
CMYKcmyk(0%, 72.1%, 12.9%, 21.2%)
CIE-LABlab(49.91, 68.17, -32.34)
CIE-LCHlch(49.91, 75.46, 334.62°)
OKLaboklab(59.71% 0.2 -0.0881)
OKLCHoklch(59.71% 0.219 336.2)
XYZxyz(33.2400, 18.3440, 42.3392)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938AF #38C952
analogous
#9B38C9 #C938AF #C93866
triadic
#C938AF #AFC938 #38AFC9
tetradic
#C938AF #C99B38 #38C952 #3866C9
square
#C938AF #C99B38 #38C952 #3866C9
split-complementary
#C938AF #66C938 #38C99B
monochromatic
#6A1D5C #9A2A86 #C938AF #D668C2 #E398D6

Accessibility & contrast

On white

4.50
#C938AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C938AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938AF#FFFFFF#000000##000000
##C938AF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#6C7FAC
Tritanopia (blue-blind)
#D3426F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c938af;
/* rgb */ color: rgb(201, 56, 175);
/* oklch */ color: oklch(59.7% 0.219 336.2);
Tailwind
colors: {
  custom: {
    50: '#dd7cc7',
    500: '#c938af',
    950: '#000000',
  },
}
SCSS
$custom: #c938af;
$custom-light: #dd7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c938af",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 310.759,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.21856,
    "h": 336.2
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C938AF

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

Preview Lab → · Contrast checker → · Palette generator →

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