#AF265B#AF265B

#AF265B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 3.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF265B
RGBrgb(175, 38, 91)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 78.3%, 48%, 31.4%)
CIE-LABlab(40.01, 57.26, 3.42)
CIE-LCHlch(40.01, 57.36, 3.42°)
OKLaboklab(50.58% 0.1755 0.0094)
OKLCHoklch(50.58% 0.176 3.1)
XYZxyz(20.2624, 11.2583, 11.0016)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265B #26AF7A
analogous
#AF26A0 #AF265B #AF3526
triadic
#AF265B #5BAF26 #265BAF
tetradic
#AF265B #A0AF26 #26AF7A #3526AF
square
#AF265B #A0AF26 #26AF7A #3526AF
split-complementary
#AF265B #26AF35 #26A0AF
monochromatic
#4A1027 #7D1B41 #AF265B #D53D78 #E0709B

Accessibility & contrast

On white

6.46
#AF265B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF265B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF265B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF265B#FFFFFF#000000##FFFFFF
##AF265B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af265b;
/* rgb */ color: rgb(175, 38, 91);
/* oklch */ color: oklch(50.6% 0.176 3.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e89',
    500: '#af265b',
    950: '#000000',
  },
}
SCSS
$custom: #af265b;
$custom-light: #cd6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#af265b",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 336.788,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.17579,
    "h": 3.1
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#AF265B
secondary
#6AC7A3
accent
#E7A740
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF265B

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

Preview Lab → · Contrast checker → · Palette generator →

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