#CA5FAF#CA5FAF

#CA5FAF is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.1% C 0.165 H 338.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CA5FAF
RGBrgb(202, 95, 175)
HSLhsl(315, 50%, 58%)
HSVhsv(315, 53%, 79%)
CMYKcmyk(0%, 53%, 13.4%, 20.8%)
CIE-LABlab(55.93, 52.36, -23.00)
CIE-LCHlch(55.93, 57.19, 336.29°)
OKLaboklab(64.14% 0.1534 -0.0619)
OKLCHoklch(64.14% 0.165 338)
XYZxyz(36.1876, 23.8388, 43.2445)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FAF #5FCA7A
analogous
#AF5FCA #CA5FAF #CA5F79
triadic
#CA5FAF #AFCA5F #5FAFCA
tetradic
#CA5FAF #CAAF5F #5FCA7A #5F79CA
square
#CA5FAF #CAAF5F #5FCA7A #5F79CA
split-complementary
#CA5FAF #79CA5F #5FCAAF
monochromatic
#832B6D #B13B93 #CA5FAF #D98DC6 #E8BBDD

Accessibility & contrast

On white

3.64
#CA5FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CA5FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FAF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FAF#FFFFFF#000000##000000
##CA5FAF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB2
Deuteranopia (green-blind)
#818CAC
Tritanopia (blue-blind)
#D4637F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5faf;
/* rgb */ color: rgb(202, 95, 175);
/* oklch */ color: oklch(64.1% 0.165 338.0);
Tailwind
colors: {
  custom: {
    50: '#dd91c7',
    500: '#ca5faf',
    950: '#000000',
  },
}
SCSS
$custom: #ca5faf;
$custom-light: #dd91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5faf",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 315.14,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.16545,
    "h": 338
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#CA5FAF
secondary
#ADD8B8
accent
#DA714E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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