#C238A8#C238A8

#C238A8 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.210 H 336.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C238A8
RGBrgb(194, 56, 168)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71.1%, 13.4%, 23.9%)
CIE-LABlab(48.42, 65.50, -30.63)
CIE-LCHlch(48.42, 72.31, 334.94°)
OKLaboklab(58.3% 0.1924 -0.0834)
OKLCHoklch(58.3% 0.21 336.6)
XYZxyz(30.7307, 17.1276, 38.7257)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238A8 #38C252
analogous
#9738C2 #C238A8 #C23863
triadic
#C238A8 #A8C238 #38A8C2
tetradic
#C238A8 #C29738 #38C252 #3863C2
square
#C238A8 #C29738 #38C252 #3863C2
split-complementary
#C238A8 #63C238 #38C297
monochromatic
#631D56 #932A7F #C238A8 #D265BE #E094D2

Accessibility & contrast

On white

4.75
#C238A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C238A8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238A8#FFFFFF#000000##FFFFFF
##C238A81.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AB
Deuteranopia (green-blind)
#6A7AA5
Tritanopia (blue-blind)
#CC416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238a8;
/* rgb */ color: rgb(194, 56, 168);
/* oklch */ color: oklch(58.3% 0.210 336.6);
Tailwind
colors: {
  custom: {
    50: '#d87bc2',
    500: '#c238a8',
    950: '#000000',
  },
}
SCSS
$custom: #c238a8;
$custom-light: #d87bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c238a8",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 311.304,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.20968,
    "h": 336.6
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#C238A8
secondary
#8ACB97
accent
#DF6549
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C238A8

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

Preview Lab → · Contrast checker → · Palette generator →

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