#C138A1#C138A1

#C138A1 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.8% C 0.204 H 338.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C138A1
RGBrgb(193, 56, 161)
HSLhsl(314, 55%, 49%)
HSVhsv(314, 71%, 76%)
CMYKcmyk(0%, 71%, 16.6%, 24.3%)
CIE-LABlab(47.93, 64.25, -27.26)
CIE-LCHlch(47.93, 69.80, 337.01°)
OKLaboklab(57.81% 0.1906 -0.0738)
OKLCHoklch(57.81% 0.204 338.8)
XYZxyz(29.8402, 16.7418, 35.3712)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A1 #38C158
analogous
#9D38C1 #C138A1 #C1385D
triadic
#C138A1 #A1C138 #38A1C1
tetradic
#C138A1 #C19D38 #38C158 #385DC1
square
#C138A1 #C19D38 #38C158 #385DC1
split-complementary
#C138A1 #5DC138 #38C19D
monochromatic
#621C52 #922A79 #C138A1 #D264B8 #E094CE

Accessibility & contrast

On white

4.83
#C138A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C138A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A1#FFFFFF#000000##FFFFFF
##C138A11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#6C799E
Tritanopia (blue-blind)
#CC3E68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a1;
/* rgb */ color: rgb(193, 56, 161);
/* oklch */ color: oklch(57.8% 0.204 338.8);
Tailwind
colors: {
  custom: {
    50: '#d87bbd',
    500: '#c138a1',
    950: '#000000',
  },
}
SCSS
$custom: #c138a1;
$custom-light: #d87bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a1",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 161
  },
  "hsl": {
    "h": 314.015,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.20433,
    "h": 338.8
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#C138A1
secondary
#8ACB99
accent
#DE6C49
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A1

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

Preview Lab → · Contrast checker → · Palette generator →

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