#C138A3#C138A3

#C138A3 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.206 H 338.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C138A3
RGBrgb(193, 56, 163)
HSLhsl(313, 55%, 49%)
HSVhsv(313, 71%, 76%)
CMYKcmyk(0%, 71%, 15.5%, 24.3%)
CIE-LABlab(48.02, 64.54, -28.30)
CIE-LCHlch(48.02, 70.47, 336.32°)
OKLaboklab(57.91% 0.1908 -0.0767)
OKLCHoklch(57.91% 0.206 338.1)
XYZxyz(30.0180, 16.8129, 36.3075)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A3 #38C156
analogous
#9B38C1 #C138A3 #C1385F
triadic
#C138A3 #A3C138 #38A3C1
tetradic
#C138A3 #C19B38 #38C156 #385FC1
square
#C138A3 #C19B38 #38C156 #385FC1
split-complementary
#C138A3 #5FC138 #38C19B
monochromatic
#621C53 #922A7B #C138A3 #D264BA #E094CF

Accessibility & contrast

On white

4.81
#C138A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C138A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A3#FFFFFF#000000##FFFFFF
##C138A31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#CC3F69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a3;
/* rgb */ color: rgb(193, 56, 163);
/* oklch */ color: oklch(57.9% 0.206 338.1);
Tailwind
colors: {
  custom: {
    50: '#d87bbe',
    500: '#c138a3',
    950: '#000000',
  },
}
SCSS
$custom: #c138a3;
$custom-light: #d87bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a3",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 313.139,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.20567,
    "h": 338.1
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C138A3

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

Preview Lab → · Contrast checker → · Palette generator →

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