#CA0FA7#CA0FA7

#CA0FA7 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 57.2% C 0.244 H 338.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA0FA7
RGBrgb(202, 15, 167)
HSLhsl(311, 86%, 43%)
HSVhsv(311, 93%, 79%)
CMYKcmyk(0%, 92.6%, 17.3%, 20.8%)
CIE-LABlab(46.57, 76.34, -32.84)
CIE-LCHlch(46.57, 83.11, 336.72°)
OKLaboklab(57.22% 0.2275 -0.0893)
OKLCHoklch(57.22% 0.244 338.6)
XYZxyz(31.5039, 15.6915, 37.9214)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA0FA7 #0FCA32
analogous
#900FCA #CA0FA7 #CA0F49
triadic
#CA0FA7 #A7CA0F #0FA7CA
tetradic
#CA0FA7 #CA900F #0FCA32 #0F49CA
square
#CA0FA7 #CA900F #0FCA32 #0F49CA
split-complementary
#CA0FA7 #49CA0F #0FCA90
monochromatic
#580749 #910B78 #CA0FA7 #EF27CA #F360D8

Accessibility & contrast

On white

5.08
#CA0FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CA0FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA0FA7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA0FA7#FFFFFF#000000##FFFFFF
##CA0FA71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#D62163
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca0fa7;
/* rgb */ color: rgb(202, 15, 167);
/* oklch */ color: oklch(57.2% 0.244 338.6);
Tailwind
colors: {
  custom: {
    50: '#df70c1',
    500: '#ca0fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca0fa7;
$custom-light: #df70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca0fa7",
  "rgb": {
    "r": 202,
    "g": 15,
    "b": 167
  },
  "hsl": {
    "h": 311.23,
    "s": 86.175,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.24435,
    "h": 338.6
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#CA0FA7
secondary
#5ED774
accent
#FC532B
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA0FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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