#C238A6#C238A6

#C238A6 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.208 H 337.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C238A6
RGBrgb(194, 56, 166)
HSLhsl(312, 55%, 49%)
HSVhsv(312, 71%, 76%)
CMYKcmyk(0%, 71.1%, 14.4%, 23.9%)
CIE-LABlab(48.33, 65.21, -29.59)
CIE-LCHlch(48.33, 71.61, 335.59°)
OKLaboklab(58.21% 0.1922 -0.0804)
OKLCHoklch(58.21% 0.208 337.3)
XYZxyz(30.5458, 17.0536, 37.7520)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238A6 #38C254
analogous
#9938C2 #C238A6 #C23861
triadic
#C238A6 #A6C238 #38A6C2
tetradic
#C238A6 #C29938 #38C254 #3861C2
square
#C238A6 #C29938 #38C254 #3861C2
split-complementary
#C238A6 #61C238 #38C299
monochromatic
#631D55 #932A7D #C238A6 #D265BC #E094D1

Accessibility & contrast

On white

4.76
#C238A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C238A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238A6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238A6#FFFFFF#000000##FFFFFF
##C238A61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#CC406B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238a6;
/* rgb */ color: rgb(194, 56, 166);
/* oklch */ color: oklch(58.2% 0.208 337.3);
Tailwind
colors: {
  custom: {
    50: '#d87bc0',
    500: '#c238a6',
    950: '#000000',
  },
}
SCSS
$custom: #c238a6;
$custom-light: #d87bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c238a6",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 312.174,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.20831,
    "h": 337.3
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#C238A6
secondary
#8ACB98
accent
#DF6849
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C238A6

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

Preview Lab → · Contrast checker → · Palette generator →

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