#C738AC#C738AC

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

Color values

HEX#C738AC
RGBrgb(199, 56, 172)
HSLhsl(311, 56%, 50%)
HSVhsv(311, 72%, 78%)
CMYKcmyk(0%, 71.9%, 13.6%, 22%)
CIE-LABlab(49.44, 67.27, -31.34)
CIE-LCHlch(49.44, 74.21, 335.02°)
OKLaboklab(59.26% 0.1978 -0.0853)
OKLCHoklch(59.26% 0.215 336.7)
XYZxyz(32.4143, 17.9520, 40.7797)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738AC #38C753
analogous
#9B38C7 #C738AC #C73864
triadic
#C738AC #ACC738 #38ACC7
tetradic
#C738AC #C79B38 #38C753 #3864C7
square
#C738AC #C79B38 #38C753 #3864C7
split-complementary
#C738AC #64C738 #38C79B
monochromatic
#671D59 #972B83 #C738AC #D468C0 #E298D4

Accessibility & contrast

On white

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

On black

4.59
#C738AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738AC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738AC#FFFFFF#000000##000000
##C738AC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B68AF
Deuteranopia (green-blind)
#6C7DA9
Tritanopia (blue-blind)
#D1416E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c738ac;
/* rgb */ color: rgb(199, 56, 172);
/* oklch */ color: oklch(59.3% 0.215 336.7);
Tailwind
colors: {
  custom: {
    50: '#dc7cc5',
    500: '#c738ac',
    950: '#000000',
  },
}
SCSS
$custom: #c738ac;
$custom-light: #dc7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c738ac",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 311.329,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.21536,
    "h": 336.7
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#C738AC
secondary
#8DCD99
accent
#DF6548
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C738AC

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

Preview Lab → · Contrast checker → · Palette generator →

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