#C738AB#C738AB

#C738AB is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.2% C 0.215 H 337.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C738AB
RGBrgb(199, 56, 171)
HSLhsl(312, 56%, 50%)
HSVhsv(312, 72%, 78%)
CMYKcmyk(0%, 71.9%, 14.1%, 22%)
CIE-LABlab(49.39, 67.13, -30.82)
CIE-LCHlch(49.39, 73.87, 335.34°)
OKLaboklab(59.21% 0.1976 -0.0838)
OKLCHoklch(59.21% 0.215 337)
XYZxyz(32.3186, 17.9137, 40.2758)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738AB #38C754
analogous
#9B38C7 #C738AB #C73864
triadic
#C738AB #ABC738 #38ABC7
tetradic
#C738AB #C79B38 #38C754 #3864C7
square
#C738AB #C79B38 #38C754 #3864C7
split-complementary
#C738AB #64C738 #38C79B
monochromatic
#671D59 #972B82 #C738AB #D468BF #E298D3

Accessibility & contrast

On white

4.58
#C738AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C738AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738AB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738AB#FFFFFF#000000##000000
##C738AB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#D2416D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c738ab;
/* rgb */ color: rgb(199, 56, 171);
/* oklch */ color: oklch(59.2% 0.215 337.0);
Tailwind
colors: {
  custom: {
    50: '#dc7cc4',
    500: '#c738ab',
    950: '#000000',
  },
}
SCSS
$custom: #c738ab;
$custom-light: #dc7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c738ab",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 311.748,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.21468,
    "h": 337
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#C738AB
secondary
#8DCD9A
accent
#DF6648
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C738AB

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

Preview Lab → · Contrast checker → · Palette generator →

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