#C238AA#C238AA

#C238AA is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.211 H 335.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C238AA
RGBrgb(194, 56, 170)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 71.1%, 12.4%, 23.9%)
CIE-LABlab(48.51, 65.79, -31.67)
CIE-LCHlch(48.51, 73.02, 334.30°)
OKLaboklab(58.4% 0.1926 -0.0863)
OKLCHoklch(58.4% 0.211 335.9)
XYZxyz(30.9184, 17.2027, 39.7145)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AA #38C250
analogous
#9538C2 #C238AA #C23865
triadic
#C238AA #AAC238 #38AAC2
tetradic
#C238AA #C29538 #38C250 #3865C2
square
#C238AA #C29538 #38C250 #3865C2
split-complementary
#C238AA #65C238 #38C295
monochromatic
#631D57 #932A80 #C238AA #D265BF #E094D3

Accessibility & contrast

On white

4.73
#C238AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C238AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238AA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238AA#FFFFFF#000000##FFFFFF
##C238AA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#CC426D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238aa;
/* rgb */ color: rgb(194, 56, 170);
/* oklch */ color: oklch(58.4% 0.211 335.9);
Tailwind
colors: {
  custom: {
    50: '#d87bc3',
    500: '#c238aa',
    950: '#000000',
  },
}
SCSS
$custom: #c238aa;
$custom-light: #d87bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c238aa",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 310.435,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.21108,
    "h": 335.9
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#C238AA
secondary
#8ACB96
accent
#DF6349
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C238AA

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

Preview Lab → · Contrast checker → · Palette generator →

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