#C238A9#C238A9

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

Color values

HEX#C238A9
RGBrgb(194, 56, 169)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71.1%, 12.9%, 23.9%)
CIE-LABlab(48.47, 65.65, -31.15)
CIE-LCHlch(48.47, 72.66, 334.62°)
OKLaboklab(58.35% 0.1925 -0.0848)
OKLCHoklch(58.35% 0.21 336.2)
XYZxyz(30.8242, 17.1650, 39.2182)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238A9 #38C251
analogous
#9638C2 #C238A9 #C23864
triadic
#C238A9 #A9C238 #38A9C2
tetradic
#C238A9 #C29638 #38C251 #3864C2
square
#C238A9 #C29638 #38C251 #3864C2
split-complementary
#C238A9 #64C238 #38C296
monochromatic
#631D56 #932A80 #C238A9 #D265BF #E094D2

Accessibility & contrast

On white

4.74
#C238A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C238A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238A9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238A9#FFFFFF#000000##FFFFFF
##C238A91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#697BA6
Tritanopia (blue-blind)
#CC416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238a9;
/* rgb */ color: rgb(194, 56, 169);
/* oklch */ color: oklch(58.4% 0.210 336.2);
Tailwind
colors: {
  custom: {
    50: '#d87bc3',
    500: '#c238a9',
    950: '#000000',
  },
}
SCSS
$custom: #c238a9;
$custom-light: #d87bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c238a9",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 310.87,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58352,
    "c": 0.21038,
    "h": 336.2
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#C238A9
secondary
#8ACB96
accent
#DF6449
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C238A9

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

Preview Lab → · Contrast checker → · Palette generator →

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