#C238A7#C238A7

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

Color values

HEX#C238A7
RGBrgb(194, 56, 167)
HSLhsl(312, 55%, 49%)
HSVhsv(312, 71%, 76%)
CMYKcmyk(0%, 71.1%, 13.9%, 23.9%)
CIE-LABlab(48.37, 65.35, -30.11)
CIE-LCHlch(48.37, 71.96, 335.26°)
OKLaboklab(58.25% 0.1923 -0.0819)
OKLCHoklch(58.25% 0.209 336.9)
XYZxyz(30.6379, 17.0905, 38.2369)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238A7 #38C253
analogous
#9838C2 #C238A7 #C23862
triadic
#C238A7 #A7C238 #38A7C2
tetradic
#C238A7 #C29838 #38C253 #3862C2
square
#C238A7 #C29838 #38C253 #3862C2
split-complementary
#C238A7 #62C238 #38C298
monochromatic
#631D55 #932A7E #C238A7 #D265BD #E094D1

Accessibility & contrast

On white

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

On black

4.42
#C238A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C238A7#FFFFFF#000000##FFFFFF
##C238A71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c238a7;
/* rgb */ color: rgb(194, 56, 167);
/* oklch */ color: oklch(58.3% 0.209 336.9);
Tailwind
colors: {
  custom: {
    50: '#d87bc1',
    500: '#c238a7',
    950: '#000000',
  },
}
SCSS
$custom: #c238a7;
$custom-light: #d87bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c238a7",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 311.739,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.209,
    "h": 336.9
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C238A7

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

Preview Lab → · Contrast checker → · Palette generator →

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