#C238AB#C238AB

#C238AB is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.212 H 335.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C238AB
RGBrgb(194, 56, 171)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 71.1%, 11.9%, 23.9%)
CIE-LABlab(48.56, 65.94, -32.18)
CIE-LCHlch(48.56, 73.37, 333.99°)
OKLaboklab(58.45% 0.1927 -0.0878)
OKLCHoklch(58.45% 0.212 335.5)
XYZxyz(31.0134, 17.2407, 40.2146)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AB #38C24F
analogous
#9438C2 #C238AB #C23866
triadic
#C238AB #ABC238 #38ABC2
tetradic
#C238AB #C29438 #38C24F #3866C2
square
#C238AB #C29438 #38C24F #3866C2
split-complementary
#C238AB #66C238 #38C294
monochromatic
#631D57 #932A81 #C238AB #D265C0 #E094D4

Accessibility & contrast

On white

4.72
#C238AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C238AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238AB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238AB#FFFFFF#000000##FFFFFF
##C238AB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#CC426D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238ab;
/* rgb */ color: rgb(194, 56, 171);
/* oklch */ color: oklch(58.5% 0.212 335.5);
Tailwind
colors: {
  custom: {
    50: '#d87bc4',
    500: '#c238ab',
    950: '#000000',
  },
}
SCSS
$custom: #c238ab;
$custom-light: #d87bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c238ab",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 310,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.21177,
    "h": 335.5
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#C238AB
secondary
#8ACB95
accent
#DF6249
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C238AB

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

Preview Lab → · Contrast checker → · Palette generator →

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