#CA5F8B#CA5F8B

#CA5F8B is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.8% C 0.144 H 356.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CA5F8B
RGBrgb(202, 95, 139)
HSLhsl(335, 50%, 58%)
HSVhsv(335, 53%, 79%)
CMYKcmyk(0%, 53%, 31.2%, 20.8%)
CIE-LABlab(54.67, 47.22, -3.88)
CIE-LCHlch(54.67, 47.38, 355.31°)
OKLaboklab(62.79% 0.1434 -0.0096)
OKLCHoklch(62.79% 0.144 356.2)
XYZxyz(33.1110, 22.6082, 27.0411)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5F8B #5FCA9E
analogous
#CA5FC0 #CA5F8B #CA685F
triadic
#CA5F8B #8BCA5F #5F8BCA
tetradic
#CA5F8B #C0CA5F #5FCA9E #685FCA
square
#CA5F8B #C0CA5F #5FCA9E #685FCA
split-complementary
#CA5F8B #5FCA68 #5FC0CA
monochromatic
#832B50 #B13B6B #CA5F8B #D98DAC #E8BBCE

Accessibility & contrast

On white

3.80
#CA5F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CA5F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5F8B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5F8B#FFFFFF#000000##000000
##CA5F8B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778C
Deuteranopia (green-blind)
#8B8A88
Tritanopia (blue-blind)
#D8586F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5f8b;
/* rgb */ color: rgb(202, 95, 139);
/* oklch */ color: oklch(62.8% 0.144 356.2);
Tailwind
colors: {
  custom: {
    50: '#dd90ac',
    500: '#ca5f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca5f8b;
$custom-light: #dd90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5f8b",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 335.327,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.14368,
    "h": 356.2
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#CA5F8B
secondary
#ADD8C6
accent
#DAA04E
background
#FDF9FA
surface
#FBF1F4
border
#D4CBCE
text
#150D10
muted
#837E7F

Preview Lab

Preview with #CA5F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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